JSFiddle - React, Tailwind, and code Playground

by Trifan Alexandru

JavaScript

var x = 'product.time("string1","string2")';
var regex = /*.\(("|'*."|')\)*./g
var rez = regex.exec(x);