G
Guest
I want to match some HTML string using Regex but the linebreaks are getting me.
Is there a way to just completely ignore linebreaks in my regular expression?
If not, how would I specify a linebreak in the regex? I know how to do begin
line/end line but that only works in non-singleline mode right?
i.e.
if I have:
<div%gt;Some text
Some more text on next line
</div>
how would I match those 3 lines together ?
Is there a way to just completely ignore linebreaks in my regular expression?
If not, how would I specify a linebreak in the regex? I know how to do begin
line/end line but that only works in non-singleline mode right?
i.e.
if I have:
<div%gt;Some text
Some more text on next line
</div>
how would I match those 3 lines together ?