Regular Expressions 101

Community Patterns

1

Dates validation

PCRE (PHP <7.3)
Not accurate
Submitted by anonymous - 7 years ago
1

i

ECMAScript (JavaScript)
no description available
Submitted by anonymous - 7 years ago
1

EDI parser - INVRPT 97A

PCRE (PHP <7.3)
INVRPT:D:97A
Submitted by Ran Z - 7 years ago
0

EDI file

PCRE (PHP <7.3)
no description available
Submitted by Ran Z - 7 years ago
1

Spaces

PCRE (PHP <7.3)
Get all spaces in a string
Submitted by anonymous - 7 years ago

Credit Card (Master/Visa)

2

Regular Expression
PCRE (PHP <7.3)

/
(\d{4}[-\s]?){3}\d{4}
/

Description

Loading markdown...
Submitted by SamPad - 8 years ago