Regular Expressions 101

Community Patterns

0

date

PCRE (PHP <7.3)
no description available
Submitted by anonymous - 4 years ago
0

trim

ECMAScript (JavaScript)
trim string
Submitted by fp - 4 years ago

Matches a number sequence separated by a comma: 1234,1234,1234,1234

0

Regular Expression
PCRE (PHP <7.3)

/
^((?:[0-9]+,{1}?)+[0-9]+)$
/
g

Description

Loading markdown...
Submitted by Jordy van Domselaar <jordy.van.domselaar@outlook.com> - 6 years ago