Community Patterns

Community Library Entry

3

Regular Expression
Created·2016-05-13 15:08
Flavor·ECMAScript (JavaScript)

/
[^a-zA-Z0-9\+(\-){1,}]{1,}
/
g
Open regex in editor

Description

Strips all non "A-Z,a-z,0-9+-_" characters and replaces them with a single "-"

Submitted by Apsis0215