Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
[^\+\-\*\/]
/
g

Description

This regex escapes the 4 main signs of operations, -*/+. Good for calculating

Submitted by anonymous - 8 years ago