Regular Expressions 101

Community Patterns

Start with t or T and some number and End with <String>

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 - a year ago