JSFiddle - React, Tailwind, and code Playground

by wrxsti85

JavaScript

var str = "Text with comma, space and period. test";
str = str.replace('. ', '.');
alert(str)