Monday, 15 June 2015

I Need Help On regex string -



I Need Help On regex string -

i need string select html tags text numbers everything, except random occurrence of words found within anchor closing tag, of line rel="bookmark">random words</a></h1>

i tried string [<0-9a-za-z/=|"-:.*?>] select's literally everything, find's that's okay, require 1 exclude's random words, in selection that's found within line mentioned above.

regex's not right tool job. please consider using xml/html dom parser , extract info need way!

the reason you're having problem crafting regex accomplish task because html markup language not regular - hence, not suitable processing regular expressions!

regex string command

No comments:

Post a Comment