The /m modifier only affects how ^ and $ work, so it's useless for you. You need /s, which makes the dot match newlines too.
In reply to Re: Multiline Regex Issue
by moritz
in thread Multiline Regex Issue
by jaldama
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |