Tema: Re: Regex validation
Autorius: GP
Data: 2010-08-13 10:12:13
tiesa siuo atveju jei yra pliusas priekyje tai jis visviena reikalaus po
to skaiciaus, is kitos puses ziurint tai jei cia yra telefono
validavimas tai netureti sukelti problemu ;)

On 08/13/10 10:10, GP wrote:
> turetu tikti sitaip /^\+?(\d+\-?\/?\d*){2,20}$/
> 
> On 08/12/10 17:03, Bamba wrote:
>> Sveiki,
>>
>> ar yra cia kas su regular expression dirbes?
>>
>> Reikia parasyti tel nr patikrinima
>>
>> •    2 – 20 digits
>> •    Only one instance of “+”, and the “+” (if exists) must be the first
>> character
>> •    Only one instance of “-”, and if exists it must not be the first
>> character
>> •    Only one instance of “/”and if exists it must not be the first
>> character
>> •    No other characters allowed
>>
>> Niekaip nepvyksta sukurpti.
>>
>> Dekui
>>
> 

-- 
GP