in reply to Isn't /m for multiline regex?
Change /m to /s.
- /m treats the text as multiple lines - meaning that each line is viewed separately. Obviously you don't have any line that has both the opening and closing blockquote tag.
- /s treats the text as one single line. Now the opening and closing tags meet each other.