Hello Makers
I’ve this phone number (the user typed the phone number with a space, for example
+58 4241645522
I need delete spaces and obtain
+584241645522
I’ trying with this regex replace(/(?:.*?((?:1\d{12})|(?:\d{12}))(?:\s|$).*)|.*/;$)
but not working
If somebody can help me, thanks a lot
PD. I’ll use these final number without spaces to send a Whatsapp message