Replace digits

Good day

I have the number 0873564839

I need to replace the 0 with +27

Any help would be appreciated


Hope the following expression helps you.



1 Like

it looks to me that you are dealing with a phone number and that you want replace leading 0 with the international code. If my understanding is correct I would suggest to replace the leading zero instead of all 0 which could occur in a phone no.

1 Like

How would I do that?

was my guess correct? If yes then we will support you on this. So please confirm if this is your requirement and if you do need it. thanks

Currently it is already done as regex is looking for the starter 0 expressed with the ^ in the pattern. So just test it with other phone numbers and verify it

Absolutely spot on ppr.