Mobile = /^9989[012345789][0-9]{7}$/
All = /^998(9[012345789]|6[125679]|7[01234569])[0-9]{7}$/
Mobile = /^9989[012345789][0-9]{7}$/
All = /^998(9[012345789]|6[125679]|7[01234569])[0-9]{7}$/
bu holatda faqat 9 bilan boshlangan kodlarda ishlaydi va + talab qilmaydi
/^[+]{1}998[1-9]{2}[0-9]{7}$/ mana shu variantni taklif qilaman
+998948007117
[
[
{
"content": "+998948007117",
"isParticipating": true,
"groupNum": 0,
"startPos": 0,
"endPos": 13
}
]
]
It didnt work with + sign here I updated your code:
^+?(998|90)?\s?-?(90|91|93|94|95|98|99|33|97|71)\s?-?(\d{3})\s?-?(\d{2})\s?-?(\d{2})$