How to use contains text for regular expressions