Can I ignore linebreaks in Regex Singleline mode?

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 ?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top