Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
ECMAScript (JavaScript)

/
(\\+|\/+|\d)
/
g

Description

Match all forward and backward slashes and numbers in a string. Usefull for obtaining only text chars from address.

Submitted by Rado - 9 years ago