Sure. I tried the linux grep / awk stuff from the link and it didn't work for some reason, so I used the Tasker splitter command instead. It relies on presence of the string "[ro.build.version.release]:" just before the version in the output from GetProp (which it was for me). If doesn't work for some reason (your output doesn't include that particular string), there are other places where the version was stored (I saw about 5 different places) so there are more splitter options to try. For that matter you could probably test %GetPropOut ~ *4.4* and %GetPropOut ~ *5.1* immediately after A1 and it MIGHT work (as long as those strings don't happen to show up in some other portion of that long long file which doesn't apply to the version number). But the full A1-A4 is safer / more reliable if you can get it to work.
A1: Run Shell [ Command:getprop Timeout (Seconds):0 Use Root:Off Store Output In:%GetPropOut Store Errors In: Store Result In: ]
<So you can paste into another app for inspection if you want>
A2: Set Clipboard [ Text:%GetPropOut Add:Off ]
A3: Variable Split [ Name:%GetPropOut Splitter:[ro.build.version.release]: Delete Base:On ]
A4: Variable Section [ Name:%GetPropOut2 From:1 Length:8 Adapt To Fit:Off Store Result In:%GetPropAndroidVersion ]