Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
(?:(?:\/\/)|(?:\/\*)|(?:<!--))?(?:[\s]*?#region)(?:([\s\S]*?)(?:(?:[\s]*?\*\/)|(?:-->))?[\n\r])([\s\S]*?)(?:(?:\/\/\s*?)|(?:\/\*)|(?:<!--))?(?:[\s]*?#endregion)(?:[\s\S]*?[\n\r])(?:[\s\S]*?)(?:(?:-->)|(?:\*\/)?)
/
gmi

Description

no description available

Submitted by anonymous - 5 years ago