I don’t want to learn regexps only for this particular problem.
I need to find some ‘/*N*/ ‘ comments through C++ files.
Can someone write a regexp which finds such comments?
I don’t want to learn regexps only for this particular problem. I need to
Share
Try this regex :
This is how it works :
Edit : It doesn’t handle
\nnor\r\n, if you want it to then consider @Alex answer with themflag.