Vote count:
0
i have string with range of phone numbers look like "+7312xxxx - +7657xxxx"(spaces between x and - may be or not be). i need cut this string and get to string with "7312xxxx" and "7657xxxx". i try do it step by step, char by char, but it very stupid and hard and i think i can do this with regexp look like this
String somestring="+7312xxxx - +7657xxxx";
String[] array=somestring.split("\someregexppattern");
but i dont know how build true regular expression. please tell me how do it.
asked 41 secs ago
Aucun commentaire:
Enregistrer un commentaire