Regular Expressions 101

Sponsors

Library entries

0
javascript

My-DesiredEmailFormatValidation

no description available
Submitted by anonymous - 3 years ago
0
javascript

TODO Js

no description available
Submitted by anonymous - 3 years ago
0
golang

My lib

no description available
Submitted by anonymous - 3 years ago
0
javascript

Danish date

Find Danish date
Submitted by anonymous - 3 years ago
0
javascript

Don Hang

no description available
Submitted by anonymous - 3 years ago
0
javascript

Twitter search scraper

no description available
Submitted by anonymous - 3 years ago
0
golang

espacios antes

no description available
Submitted by anonymous - 3 years ago
0
javascript

HeatingManager - Identify Hours

no description available
Submitted by anonymous - 3 years ago
0
javascript

Emoji escaper

no description available
Submitted by anonymous - 3 years ago
0
javascript

Embedly Providers

no description available
Submitted by anonymous - 3 years ago
0
javascript

AWS API access key

Catching AWS API access keys
Submitted by anonymous - 3 years ago
0
javascript

UGUF - Saison

Extract season from different title formats
Submitted by anonymous - 3 years ago
0
javascript

yt exp

no description available
Submitted by anonymous - 3 years ago
0
javascript

Name validation

no description available
Submitted by anonymous - 3 years ago

MasterCard - 10/09/18

Vote

0

Regular Expression
javascript

/
\b(5[1-5][0-9]{2}[ -])([0-9]{4}[ -]){2}[0-9]{4}\b|\b(5[1-5][0-9]{2})([0-9]{4}){3}\b|\b222[1-9][ -]([0-9]{4}[ -]){2}[0-9]{4}\b|\b222[1-9]([0-9]{4}){3}\b|\b22[3-9][0-9][ -]([0-9]{4}[ -]){2}[0-9]{4}\b|\b22[3-9][0-9]([0-9]{4}){3}\b|\b2[3-6][0-9]{2}[ -]([0-9]{4}[ -]){2}[0-9]{4}\b|\b2[3-6][0-9]{2}([0-9]{4}){3}\b|\b27[01][0-9][ -]([0-9]{4}[ -]){2}[0-9]{4}\b|\b27[01][0-9]([0-9]{4}){3}\b|\b2720[ -]([0-9]{4}[ -]){2}[0-9]{4}\b|\b2720([0-9]{4}){3}\b
/
gm

Description

Loading markdown...
Submitted by anonymous - 4 years ago