Using regex, how can I check weather a word starts with some character, and ends with another one? For example, the word "black", how to check that it starts with "b" and ends with "k" using regex?
And can I then make a replace using "search and replace" tasker built-in feature for those two characters to be, for example, "place" instead of "black", replacing "b" with "p" and "k" with "e" respectively?
I use this in tasker program in android, to check contacts and take decision on some conditions like the one above.
Thanks in advance.