I am trying to match the word contact
within content/text of html tags. I can get all text between tags:
http://rubular.com/r/IkhG2nhmnS
with:
(?<=\"\>)(.*?)(?=\<\/)
But I want to search for only the word contact
, it doesn't work:
http://rubular.com/r/We44nHisLf
with:
(?<=\"\>)(contact*?)(?=\<\/)
Can anyone guide how do I match the word I want within the text/content of html tags. In above case I want to find/match the word contact
Thanks for your help