Community Patterns

Community Library Entry

0

Regular Expression
Created·2016-09-29 12:48
Flavor·ECMAScript (JavaScript)

/
(\/\*([^*]|[\r\n]|(\*+([^*\/]|[\r\n])))*\*+\/)|(\/.*)
/
g
Open regex in editor

Description

This pattern finds comments block in the source code.

Submitted by giraysam