I'm trying to find a multilined string inside of HTML tags. This regex
<\s*form[^>]*>(.*?)<\s*/\s*form>
does it pretty well in Notepad++, if the setting find \r and \n is activated.
What i can't get done is to force this regex to work with Excel (using a .Net Addon, which lets execute regex). There this regex finds only one lined string (mean without \r, \n or both).
For example:
- if a string is <form foo>bar</form>- regex findsbar, as expected,
- If  a string is <form foo>bar\r\nbaz</form>- regex finds nothing.
How could this regex be adjusted to catch multilined strings too?
 
     
    