JSFiddle - React, Tailwind, and code Playground

by Yuriy Petrichenko

JavaScript

const str = 'hello=123;name=dd;';


console.log(str.replace(/(= | )/g , ' '));