Regular Expressions 101

Sponsors

Library entries

-3
pcre

retrieve hostname without subdomain

no description available
Submitted by Diego Zuluaga - 7 years ago
-2
pcre

Finds HTML img tags

no description available
Submitted by Matt Solum - 9 years ago
-2
pcre

Remove namespaces

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

Date time

no description available
Submitted by Mr.Neutro - 8 years ago
-2
pcre

Russian mobile number normilizer (dumb)

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

Filter IP from beggin of log

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

Ukazka

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