Wondered if anybody could help, been trying to get my head around regex for the first time and Tasker's Variable Search Replace action. In short I'm struggling extracting a string from within a defined variable.
I'd like to initially extract just the co-ordinate portions of the string excluding the last special character e.g.
N51.307278,W000.143415
and then split the variable at the "," {comma} into separate %VarLat and %VarLong variables.
So question is can I tweak the regex to only grab the string after the match? I've read bits about lookforward lookbehind but can't get my head around it and realise I could run a split on the initial expression before splitting on the comma but wanted to try to make this efficient if possible.
So any help would be appreciated and even better if you can solve this please explain what is going on with the expression so I can learn a bit.
Thanks in advance