Regular Expressions 101

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
^([+-]?([√∛∜]|a?(sin|cos|tan)h?|cot|sec|csc|ln|log(2|10)?)?[([{⎢])*[+-]?(0(b([01]+(\.[01]*)?|\.[01]+)|x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)|o([0-7]+(\.[0-7]*)?|\.[0-7]+))(p[+-]?\d+)?|(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?)([)\]}⎥]*[-+*×/•÷^%]?([+-]?([√∛∜]|a?(sin|cos|tan)h?|cot|sec|csc|ln|log(2|10)?)?[([{⎢])*[+-]?(0(b([01]+(\.[01]*)?|\.[01]+)|x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)|o([0-7]+(\.[0-7]*)?|\.[0-7]+))(p[+-]?\d+)?|(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?))*[)\]}⎥]*$
/
i

Description

no description available

Submitted by anonymous - 7 years ago