Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
^\s*\[?(TEST COOKIE|100% to v\d)\]?:?\s*
/
igm

Description

This removed some extra tags from the name of an experiment to make the next match part simpler.

Submitted by anonymous - 2 years ago