Regular Expressions 101

Library entries

Match numbers with consecutive digits

Vote

1

Regular Expression
pcre

/
((?=\b\d{3}\b)0?1?2?3?4?5?6?7?8?9?(?<=\d{3}))
/
gm

Description

Loading markdown...
Submitted by OnlineCop - 6 years ago