Regular Expressions 101

Community Patterns

1...45678...902

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
(var )?(\"[^\"\r\n\t]+\"|[a-z0-9\_]+)\s?\:\s([a-z\[\]0-9]+)\s?(\'[^\'\;]+\'|\"[^\"\;]+\"|of [^\"\;]+|[^\"\s\;]+|)( temporary)?(?:\;|\))
/
gmi

Description

no description available

Submitted by Dominic Saladin - 4 years ago