title: Use regex to search and replace for characters in a word
body: <p>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?</p>
  
  <p>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?</p>
  
  <p>I use this in tasker program in android, to check contacts and take decision on some conditions like the one above.</p>
  
  <p>Thanks in advance.</p>