Regular Expressions 101

Community Patterns

Community Library Entry

7

Regular Expression
ECMAScript (JavaScript)

/
(?:\;.*$|(\(|\)|\"(?:\\\"|\\\\|[^\"])*\"|[\w\+\-\*\/\.\<\>\=]+|\'|\;|\\|\||\#|\`|\,|\:))
/
gmi

Description

main symbols and comments are supported

Submitted by d4rw1n1s7@gmail.com - 10 years ago