Regular Expressions 101

Sponsors

Library entries

0
javascript

修复URL尾斜杠

兼容ios
Submitted by anonymous - 2 years ago
0
golang

emojis

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

tilak filehacker

tilak filehacker
Submitted by anonymous - 2 years ago
0
javascript

RFC 5322

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

tilak phishing

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

tilak phishing

tilak phishing
Submitted by anonymous - 2 years ago
0
pcre

mongo parsing

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

tilak phishing

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

keefe top partial clean

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

blake encoded shell

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

tilak phishing tough regex

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

content_type parser

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

more characters

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

Regex_All_Language

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

tilak php uploader

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

tilak php tag ending filehacker

no description available
Submitted by anonymous - 2 years ago

Credit Card Numbers

Vote

0

Regular Expression
pcre

/
(?# This regex was created for the purposes of detecting potentially compromised credentials for the purposes of information security and not to be used for malicious purposes.) (?<!\d) (?# s - Short [less than 16 digits], m - Medium [16 digits], l - Long [more than 16 digits; not yet implemented]) (?# First four digits) (?: (?# Standard 16 digit numbers) (?<m> (?#MasterCard between 222100-272099) 222[1-9]|223\d|2[3-6]\d{2}|27[01]\d|2720| (?#JCB is between 3528-3589) 352[89]|35[3-8]\d| (?#Visa, MasterCard, Discover) [4-6]\d{3} )| (?#American Express 15 digits | Diners Club 14 digits) (?<s>(?<ax>3[47]\d{2})|(?<dc>30[0-5]\d|36\d{2})) ) (?# Rest of the card number) (?<del>\D+)?(?(<m>)\d{4}(?(<del>)\k{del})\d{4}(?(<del>)\k{del})\d{4}|(?:\d{6})(?(<del>)\k{del})(?(<ax>)\d{5}|\d{4})) (?#END) (?!\d)
/
gmx

Description

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