Regular Expressions 101

Community Library

Community Library Entry

2

Regular ExpressionOpen Workspace

/
(?:\d[ -]*?){9}
/
gm

Description
Created·2022-06-08 15:43
Type·Match
Flavor·PCRE2 (PHP)

Finds a number that is 9 digits long. Can have spaces or hyphens in between the numbers and will still be found

Submitted by Anonymous
Open Workspace