Regular Expressions 101

Library entries

EQD drawfriend comments number search

Vote

0

Regular Expression
javascript

/
(?::|#|are|(?:\b|\D)(?:\d{1,2}|1\d{2})?\s?and|(?:\b|\D)(?:\d{1,2}|1\d{2})\s?,|&)\s?(?:\d{1,2}|1\d{2})\b(?:\s?-\s?(?:\d{1,2}|1\d{2})(?=\D))?(?:\s?,\s?(?:\d{1,2}|1\d{2})(?=\D)(?:\s?-\s?(?:\d{1,2}|1\d{2})(?=\D))?)*|^\s?(?:\d{1,2}|1\d{2})\s?(?:\.(?=\D)|$|:)
/
gmi

Description

Loading markdown...
Submitted by RakTom - 5 years ago