Regular Expressions 101

Sponsors

Library entries

1
pcre2

Links

Beginner way to highlight links
Submitted by anonymous - a day ago
0
pcre2

TTB fund acc 1

my work space
Submitted by anonymous - 3 days ago
1
pcre2

Custom Commit ReGex

Custom Commit ReGex Test
Submitted by Kewal Rathod - 4 days ago
-1
pcre2

213

12312
Submitted by anonymous - 4 days ago
-1
pcre2

1

1
Submitted by anonymous - 4 days ago
0
pcre2

Drealth

just a normal text to the drealth emojis
Submitted by NobreHD - 6 days ago
0
pcre2

find between 2 strings

find between 2 strings
Submitted by anonymous - 8 days ago
0
pcre2

Jerem

To match specific name based on season code
Submitted by anonymous - 9 days ago
0
pcre2

.csv data conversion for a test case

from "['a']" to "[""a""]"
Submitted by anonymous - 10 days ago
0
pcre2

track OM cash out

cash out tracker
Submitted by anonymous - 12 days ago
0
pcre2

Php

Php
Submitted by Nickname - 12 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 - a year ago