I have an regex expression:
\[quote\](.*?)\[\/quote\]
and it matches correctly between [quote]example[/quote] but it does not find a match for:
[quote]
example
[/quote]
how can I change the regex so it finds a match in the latter case too? *And keeps the format (multiple lines)
Thanks.
Add [\r\n]* to the regular expressiuon