Jump to content
Sign in to follow this  
GooG

StringRegExp match all characters including newline

Recommended Posts

GooG

Hi,

I've been trying to match a whole div element by using: "<div>(.*?)</div>", but the problem is that the dot does not match any newlines.

Share this post


Link to post
Share on other sites
DoctorSLO

Try to use (?m) or (?s) or (\w+)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×