Example string
fgcfghhfghfgch1234567890fghfghfgh fhghghfgh+916546546165fghfghfghfgh fhfghfghfghfgh+915869327425ghfghfghfgh
I want to match
1234567890
6546546165
5869327425
In essence i would like to do something like this (?<=\+\d{2})?\d{10}
.
Match 10 digits \d{10}
which may follow ?
a country code in format: \+\d{2}
.
What would be a correct regular expression to do this?
Also, What to do if the country code could possibly be even 3 digit long. e.g.
+917458963214
+0047854123698
match 7854123698
and 7458963214
.