Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE2 (PHP >=7.3)

/
(^[tT][0-9]+[_])(.*)(submit$)
/
gm

Description

Some custom pattern matching where a string start with t and end with any string, for example - t123_click, t1234_click_submit, T12_click_click_skip

Submitted by Jaswinder - 2 years ago