I have a quite big XML output from an application. I need to process it with my program and then feed it back to the original program. There are pieces in this XML which nee
The regex char "." never matches a newline, even with MultiLine
option is set.
instead, you should use [\s\S]
or other combination with matches anything.
The MultiLine
option only modifies the behaviour of ^ (begin-of-line instead fo begin-of-string) and $ (end-of-line instead of end-of-string)
BTW: Indeed, regex is not the right way to scan an HTML...