in reply to help shorten this series of regexes

It's only reasonable to be regex parsing HTML code ifBut you've got that 'i' at the end of the regexes. Which is usually good practice. However, in this context, it tells me that, no, you're not absolutely confident that there won't be any variance in the capitalization. Hmmmm....

Maybe you should be in the market for a good HTML Parser.

throop

  • Comment on Re: help shorten this series of regexes