Regular Expressions 101

Sponsors

Library entries

1
pcre

Why is this not matching the closest <A tag?

no description available
Submitted by Daz - 8 years ago
-2
pcre

Find multiple XML documents in file

as title says
Submitted by Doro - 8 years ago
1
pcre

ticket regexp

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

x

x
Submitted by x - 8 years ago
1
pcre

Sentence grabber 2

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

Sentence matching

Match sentences ignore e.g. Fig. z.b. etc
Submitted by anonymous - 8 years ago
1
pcre

Try ths

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

Signed integer

no description available
Submitted by markus hooge - 8 years ago
1
pcre

asdf

asdf
Submitted by anonymous - 8 years ago
0
pcre

easy Email Detection

easy Email Detection
Submitted by Max Mustermann - 8 years ago
-11
python

Easy Email detection

Easy Email Detection
Submitted by Philip Lawall - 8 years ago

ParsingAmazonInvoice

Vote

1

Regular Expression
pcre2

/
(Final Details for Order #)([-#0-9]{19})\R*(Order Placed\:\s)(([JFMASOND][aepuco][nbrylgptvc]).+?)([123][0-9],\s)(20[0-2][0-9])(.+?)(Amazon\.com\sorder\snumber\:\s\2)(.+?)(Order\sTotal\:\s(\$?[0-9]{1,3}(?:,?[0-9]{3})*\.[0-9]{2}$)).*?(\r|\n).*?(Shipped\son\s)(([JFMASOND][aepuco][nbrylgptvc].+?)\s([123][0-9],)\s(20[0-2][0-9])).*?(\n|\r).*?(Items\sOrdered\s\dof\:(.+?))(Sold\s\by\:\s)(.+?)(Price\s)(\$?[0-9]{1,3}(?:,?[0-9]{3})*\.[0-9]{2}$).+?(Condition\:\s)(New|Used)
/
gm

Description

Loading markdown...
Submitted by anonymous - 9 months ago