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
Post a Comment