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? -

c# - When does PreApplicationStartMethod actually get triggered to run? -

c# - Binding attached property to IEnumerable -