Regular Expressions 101

Sponsors

Library entries

0
pcre2

c++ function signature

c++ function signature
Submitted by anonymous - a day ago
0
pcre2

Twitter Question

Gramática: S->E S->aA S->bB A->E A->bB...
Submitted by anonymous - 2 days ago
0
pcre2

Match between two strings

(?<=This is)(.*)(?=sentence)
Submitted by anonymous - 2 days ago
0
pcre2

wiki

wiki parser
Submitted by anonymous - 3 days ago
0
pcre2

pythonize beautiful query

pythonize beautiful query
Submitted by anonymous - 3 days ago
0
java

Business Address | WI | Trademark | USA

s
Submitted by anonymous - 5 days ago
0
java

carbon

test1
Submitted by anonymous - 5 days ago
0
golang

log timestamp

extract time stamp from log entry
Submitted by anonymous - 5 days 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 - 2 years ago