I have a rich text like
Sample text for testing:<a href="http://www.baidu.com" title="leoshi">leoshi</a>leoshi for details balala...
Welcome to RegExr v2.1 by gskinner.com, proudly hosted by Media Temple!
What I want to match is the word leoshi
, but not inside of <a>
elements, So in this example it's only leoshi
in leoshi for details....
Solution and explanation are welcome!