JSFiddle - React, Tailwind, and code Playground

by prozoroff

JavaScript

var a = "Art Arthur"
alert(a.split(/\b(?!;)/))