Regular Expressions 101

Sponsors

Library entries

0
pcre2

SMB share parsing

A regex for parsing SMB shares
Submitted by Drav Sloan - 4 days ago
0
pcre2

DTM Validation

DTM Validation
Submitted by Mike Cheel - 4 days ago
0
java

Match CLI argument to

Matches argumetn to as: -t --to -t= ...
Submitted by rperez-torro - 5 days ago
0
pcre2

iamge url

all image url in in content
Submitted by farhad rohani - 5 days ago
0
python

SoundsExtract

extract sounds
Submitted by anonymous - 5 days ago
1
javascript

Minecraft Log Parser 1.0

Improvements needed
Submitted by Crystal - 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 - 9 months ago