REGEX-Escape for: 2019-09-table-of-contents-PS.asp

Your Input:
Result, the escaped string:
2019\-09\-table\-of\-contents\-PS\.asp

What must the escaping look like for:
2019-09-table-of-contents-PS.asp

The excaped text for use in a regex is:
2019\-09\-table\-of\-contents\-PS\.asp


Ads