Regular Expressions 101

Library entries

0
pcre

replicated pageContent id within a div

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

test

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

Q_Property

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

inline-sub-via-sed

regex for inline substitution w/ sed
Submitted by anonymous - 8 years ago
1
pcre

Extract values from log

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

Cisco ASA

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

Beginning of word

When looking for day, Sunday should not be matched.
Submitted by Ben - 8 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 - 8 years ago