Use RLIKE instead of LIKE for text substrings

Change-Id: I6219cc996e711e3b1d4b538ce6fe63d16e2e8be4