Regular Expressions 101

Sponsors

Library entries

-2
pcre

[A-Z]+[a-z]{1,2}[0-9]*

no description available
Submitted by anonymous - 9 years ago
-2
pcre

Match v4 IP address

no description available
Submitted by Budiony Damyanov - 9 years ago
-2
pcre

test

no description available
Submitted by anonymous - 8 years ago
-2
pcre

Unicode email sanitising

no description available
Submitted by anonymous - 8 years ago
-2
pcre

French phone number

no description available
Submitted by Benoit Anastay - 8 years ago
-2
pcre

1_aa3

no description available
Submitted by anonymous - 8 years ago
-2
pcre

Sample

no description available
Submitted by anonymous - 8 years ago
-2
pcre

Find multiple XML documents in file

as title says
Submitted by Doro - 8 years ago
-2
pcre

Remove /* comments */ from CSS

no description available
Submitted by JerseyMilker - 8 years ago
-2
pcre

Version in Cordova config.xml

no description available
Submitted by procek - 8 years ago
-2
pcre

RegEx within tags

no description available
Submitted by anonymous - 8 years ago
-2
python

example

match
Submitted by anonymous - 8 years ago
-2
pcre

Maintain portion in the middle

no description available
Submitted by HMK - 8 years ago

Validate credit card numbers

Vote

-2

Regular Expression
pcre

/
^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|6(?:011|5[0-9]{2})[0-9]{12}|(?:2131|1800|35\d{3})\d{11})$
/

Description

Loading markdown...
Submitted by www.regular-expressions.info/creditcard.html - 7 years ago