Answers for "javascript regex wrap string"

2

javascript regex wrap string

"Foo bar cat".replace(/(cat)/ig, "<em>$1</em>");
Posted by: Guest on March-10-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language