Match regex across newlines?
2 answers
Create your regex object with the parameter included RegexOptions.Singleline
:
Specifies single line mode. Modifies the value of the period (.) To match every character (instead of every character except \ n).
+4
a source to share