Regular Expressions 101

Sponsors

Library entries

4
pcre

Task 1

Finds a happy smile, except sad one
Submitted by Kovalev Evgeny - 8 years ago
4
pcre

Hungarian ANDOK system id

no description available
Submitted by Tana - 8 years ago
4
pcre

Command handling

Handles commands like in CMD
Submitted by anonymous - 8 years ago
4
pcre

Get URL parameters

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

utf-8 hex.

utf-8 hex. code armenian. Firs character regexp
Submitted by Dyxx - 7 years ago
4
pcre

uri parser

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

Phone number

no description available
Submitted by Mark Landry - 7 years ago

Credit Card Number

Vote

4

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})$
/
gm

Description

Loading markdown...
Submitted by Ehsan - 7 years ago