BASELINE NowYouCanUse.com
Web Platform Baseline Status Breakdown Total Features: 1219
Search:
Showing 1 of 1 features

2025

1 features
• May 2025

The RegExp.escape() static method takes a string and replaces any characters that are potentially special characters of a regular expression with equivalent escape sequences. For example, RegExp.escape("[abc]") returns "\\[abc\\]".

Chrome 136
Firefox 134
Safari 18.2
Edge 136
Baseline Date: May 1, 2025