Regular Expressions 101

Sponsors

Library entries

0
pcre2

长宽高

长宽高
Submitted by mouxan - 14 hours ago
0
pcre2

match extends in a class

to match extends in a class
Submitted by anonymous - a day ago
0
pcre2

implements Regex

To match implements in classes
Submitted by anonymous - a day ago
0
pcre2

AWS EC2 Hostname

Validates AWS EC2 Hostnames
Submitted by holy-moly-555 - a day ago
0
pcre2

Date dd.mm.yyyy

Regex for datestring validation
Submitted by anonymous - a day ago
0
pcre2

Equifax street types parser

Street types
Submitted by anonymous - 2 days ago
0
pcre2

stage build checker

stage build checker
Submitted by anonymous - 2 days ago
0
pcre2

estoque_bling_regex

Regex xml stock Bling
Submitted by Dimitri - 2 days ago
0
pcre2

Rules

Rules
Submitted by anonymous - 3 days ago
0
pcre2

Host Regex

Get any hostname
Submitted by anonymous - 6 days ago
0
pcre2

Phone (rus)

Russian phone number
Submitted by anonymous - 8 days ago
0
pcre2

TESTO denro tag

r
Submitted by anonymous - 8 days ago
0
pcre2

Unique graphql pagination update

Unique graphql pagination update
Submitted by Amos - 8 days ago
0
pcre2

스마트스토어 필터링

ㅌㅌ
Submitted by anonymous - 8 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