Regular Expressions 101

Community Patterns

1

Match all numbers

Java 8
Match all numbers from a string.
Submitted by VS - 3 years ago

Test

1

Regular Expression
PCRE (PHP <7.3)

/
^\s*((P(OST)?.?\s*(O(FF(ICE)?)?)?.?\s+(B(IN|OX))?)|B(IN|OX))
/
i

Description

Loading markdown...
Submitted by anonymous - 9 years ago