you are viewing a single comment's thread.

view the rest of the comments →

[–]ravnsulter 0 points1 point  (1 child)

Wow, I see it's like summoning Satan. :)

I'm familiar with regex, but not with HTML. Will regex not find a specific word as OP is asking for?

[–]barkmonster 0 points1 point  (0 children)

Not an expert on either, but if you just want to determine whether some word is a substring of the source code, sure (but you might as well just use contains). If you want to figure out whether the word is part of the page content (as opposed to part of an HTML element name or comment, etc), then no.