Regular Expressions 101

Sponsors

Library entries

1
pcre

tag replace

no description available
Submitted by Lexx918 - 7 years ago
2
pcre

Valmaks_rename_big_strings

no description available
Submitted by witamin - 7 years ago
1
python

Match initials

Match initials of a person name
Submitted by anonymous - 7 years ago
0
pcre

Valmaks_name_replace_222

no description available
Submitted by witamin - 7 years ago
1
pcre

Get Content within brackets

Get Content within brackets
Submitted by anonymous - 7 years ago
0
pcre

http

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

Numbers separated by comma and whitespace

no description available
Submitted by anonymous - 7 years ago
1
pcre

extract video id from youtube url

no description available
Submitted by egg- - 7 years ago
2
pcre

Grab all hyperlinks

no description available
Submitted by Josh Bourke - 7 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