REGEX-Escape for: ^[+-]?([0-9]*[.])?[0-9]+$

Your Input:
Result, the escaped string:
\^\[\+\-\]\?\(\[0\-9\]\*\[\.\]\)\?\[0\-9\]\+\$


Ads

What must the escaping look like for:
^[+-]?([0-9]*[.])?[0-9]+$

The excaped text for use in a regex is:

\^\[\+\-\]\?\(\[0\-9\]\*\[\.\]\)\?\[0\-9\]\+\$


Ads