Regular Expressions 101

Sponsors

Library entries

3
javascript

po box

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

Any Character Between 6-64 Long

Allowing for complex passwords
Submitted by anonymous - 8 years ago
1
pcre

Facebook Video ID from link

Matches the video id in FB links
Submitted by Eirenaios - 8 years ago
-3
pcre

cake

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

hjghj

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

12345

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

Twitter hashtags extractor

Extract hashtags from text
Submitted by anonymous - 8 years ago
-2
javascript

Select ID from regex101 URL

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

Select inside <a> tag

no description available
Submitted by Vinay - 8 years ago
-4
javascript

Hallo

no description available
Submitted by anonymous - 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 - a year ago