How to search replace with regex and keep case as original in javascript

前端 未结 3 1267
野性不改
野性不改 2021-02-01 05:50

Here is my problem. I have a string with mixed case in it. I want to search regardless of case and then replace the matches with some characters either side of the matches.

3条回答
提交回复
热议问题