Javascript RegEx to detect multiline comments
Monkey Archive Forums/Monkey Discussion/Javascript RegEx to detect multiline comments
| ||
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? |
| ||
Maybe this will help? http://regexpal.com/ 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. |
| ||
Thanks, 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. |