Javascript RegEx to detect multiline comments

Monkey Archive Forums/Monkey Discussion/Javascript RegEx to detect multiline comments

MikeHart(Posted 2013) [#1]
Hi folks,

I can't get my head around that. I need a javascript regex string to detect multiline comments of Monkey. It is for a Wordpress syntax highlighter.

Do you know how it should look like?

Tibit(Posted 2013) [#2]
Maybe this will help?

I'm not a regex expert or maybe I'd be able to just write the answer out directly. However my approach would be to google a similar regex, have some Monkey code to verify against on and use the editor (see link above) to get it right.

MikeHart(Posted 2013) [#3]

It seems that with and expression like

[quote]((#Rem)(.|\s)*?(#End)) [/code]

I should be able to do this. Will give it a try tonight.