2
I have a string in a textarea that will be in this format:
2199998888
2188889999
2455556666
2566665555
That is, phone numbers with line break to separate them within the textarea.
My need is to enter the country code into all the phone numbers.
I couldn’t find a simple logic to do it.
The result would be this:
552199998888
552188889999
552455556666
552566665555
I don’t know much about phone number patterns, but if it’s a country code you don’t need to use
+
? (+552199998888
, etc.)– mgibsonbr
In this specific case I don’t need the@mgibsonbr
– Joao Paulo