Skip to main content

When I extract mobiles from the array, for some reason one is extracted without the last digit... how to solve it?

My result, when i choose “Formatter by Zapier” → “Text” → “Exctract mobile number”
Data

 

Hi @SanyaCLAUSS!

I’m not too sure why the extract phone number is having difficulty with that phone number, but I can suggest an alternative. 

Instead of using the extract phone number, use the extract pattern transform. Then use the following regex expression:

(?<!\d)\d{8}(?!\d)

And swap out the {8} with the number of digits in the phone numbers. If you want to give that a try, it’s worth testing it on a few different phone numbers to make sure that it works correctly.