regex:examples - evanmoran/quick GitHub Wiki
Match comments // and /**/
/(?:\/\*(?:[\s\S]*?)\*\/)|(?:[\s;]+\/\/(?:.*)$)/gm
Match email in simple form [email protected]
/\S+\@\S+\.\S+/
Match comments // and /**/
/(?:\/\*(?:[\s\S]*?)\*\/)|(?:[\s;]+\/\/(?:.*)$)/gm
Match email in simple form [email protected]
/\S+\@\S+\.\S+/