Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
ECMAScript (JavaScript)

/
(\[((\/.*\/)*\w{0,3}[^\]]+|[^\]]+)\])([\n|\s]*)({{(?:[^}{]+(\/.*\/)*[^}{]+|{{(?:[^}{]+(\/.*\/)*[^}{]+|{{(?:[^}{]+(\/.*\/)*[^}{]+|{{(?:[^}{]+(\/.*\/)*[^}{]+|{{(?:[^}{]+(\/.*\/)*[^}{]+|{{(?:[^}{]+(\/.*\/)*[^}{]+|{{(?:[^}{]+(\/.*\/)*[^}{]+|{{(?:[^}{]+(\/.*\/)*[^}{]+|{{(?:[^}{]+(\/.*\/)*[^}{]+|{{(?:[^}{]+(\/.*\/)*[^}{]+|{{(?:[^}{]+(\/.*\/)*[^}{]+|{{[^}{]*(\/.*\/)*[^}{]*}})*}})*}})*}})*}})*}})*}})*}})*}})*}})*}})*}})*
/
g

Description

Now include regex inside {{ }}

Submitted by Ricardo Feitoza - 8 years ago