Probably! A parser's definitely the better way to go. Regexes are more of a quick-and-dirty route, my specialty. :)
Type: Posts; User: oogabooga
Probably! A parser's definitely the better way to go. Regexes are more of a quick-and-dirty route, my specialty. :)
"regex" is shorthand for "regular expression", so they're the same thing (just in case you were wondering :) ). It's one of the most useful things you'll ever learn. It's for matching complex...
A proper HTML parser (even an "old" one) should skip tags that it doesn't understand.
A regex library is another way to go. If you don't know regular expressions, it's something you have to learn...
What language(s) do you know?