c# - Regex to match full lines of text excluding crlf -


how regex pattern match each line of given text be?

i'm trying ^(.+)$ includes crlf...

i'm not sure mean "match each line of given text" means, can use character class exclude cr , lf characters:

[^\r\n]+ 

Comments

Popular posts from this blog

haskell - Using filter on an item in a list? -

tomcat6 - Exception when stopping container for a with Spring + Quartz + Tomcat web application -

c# - Binding attached property to IEnumerable -