I know this question is around SO, but
I can't find the right one and I still suck in Regex
:/
I have an
string and that string is valid HTML. Now I want to find all
the tags with an certain name and
attribute.
I tried this
regex (i.e. div with type): /( src="(.*?)<\/div>)/.
Example
string:
Do not match
me
match
me
not me
type="special_type" > match me
too
No comments:
Post a Comment