Regular Expressions 101

Sponsors

Library entries

0
pcre

replace more empty <p> by one

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

phone numbers to links

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

Telephone Thai Number

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

partial gtaccesss

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

Encontrar tags HTML que estejam vazias

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

Filename from Ossec lgs

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

Car Seat (Nuna) CLP

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

Workout Protocol Splitter

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

TNRid

^-|\b\d.{0,20}.$
Submitted by anonymous - 3 years ago
0
pcre

israeli phone

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

just tag

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

between tags

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

tilak phishing mail

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

emojis

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