Home > Article > Web Front-end > JavaScript special character replacement and replacement of all strings
JavaScript special character replacement and replacement of all strings
1. Replace all characters to be replaced
2. Replace all the special characters you want to replace.