(And, despite the OP's claim, '*/' in a string literal isn't a problem.)
The OP didn't identify the language involved, so I took him at his word.
Seems I don't have the 'I-know-better-than-the-OP' gene that you and several others around here have. I don't miss it.
In reply to Re^3: Regex to strip comments (out not in)
by BrowserUk
in thread Regex to strip comments
by zuma53
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |