Regular Expressions 101

Sponsors

Library entries

0
javascript

Matches filenames in urls

Filenames in urls
Submitted by anonymous - 2 days ago
0
javascript

sql inj

as
Submitted by anonymous - 6 days ago
0
javascript

Currency

Currency
Submitted by jerryd - 9 days ago
0
javascript

date format

relative date format
Submitted by anonymous - 18 days ago
1
javascript

Matching CSS Properties

CSS Properties
Submitted by Luidenka - 21 days ago

ISBN-13

Vote

1

Regular Expression
javascript

/
^(?:ISBN(?:-13)?:? )?(?<gs1>\d{3})(?:(?<number>\d{9})|(?=[\d -]{14}$)[ -](?<registrationGroup>\d{1,5})[ -](?<registrant>\d{1,7})[ -](?<publication>\d{1,6})[ -])(?<checkDigit>\d)$
/
gm

Description

Loading markdown...
Submitted by Alejandro - 3 months ago