Regular Expressions 101

Sponsors

Library entries

0
java

Identifier Regex

Regex for identifiers
Submitted by anonymous - 2 days ago
0
javascript

Currency

Currency
Submitted by jerryd - 3 days ago
0
javascript

date format

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

Matching CSS Properties

CSS Properties
Submitted by Luidenka - 15 days ago

ISBN-10

Vote

1

Regular Expression
javascript

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

Description

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