Regular Expressions 101

Library entries

Matching an unknown set of numbers (1 - 1000) separated by space

Vote

0

Regular Expression
pcre

/
^(?:(?:(?:1000|[1-9][0-9][0-9]|[1-9][0-9]|[1-9]) ){0})(?:1000|[1-9][0-9][0-9]|[1-9][0-9]|[1-9])$
/
gm

Description

Loading markdown...
Submitted by anonymous - a year ago