JSFiddle - React, Tailwind, and code Playground

by ajthomascouk

JavaScript

var string = "My name is ’";
string = string.replace(/[\u2019]/g, 'Alex');
console.log(string);