I need to find anything inside tr ...
and
& lt; Tr class = "class1" & gt; & lt; / Tr & gt;
/ P>
Thank you!
, regex is not enough to perform this task.
He said, you can use a poor expression like this: / & lt; Tr *? & Gt; (. *?) & Lt; \ / Tr & gt; /
where group 1 will be & lt; Tr & gt;
What is (usually) between tags, but there is no guarantee on accuracy ... things like nested tags will close it You need to use real html parser .
Comments
Post a Comment