I have a string with a number:
const phoneNo = '2321392321';
and I want it to have this formt: (999) 999 - 9999.
Is it possible to do it with regex? I could split the number, take a substring, etc, but I feel like it'd be easier with regex, though I don't know how to tackle it.