Tema: Re: Regex validation
Autorius: trigras
Data: 2010-08-13 09:39:37
Thu, 12 Aug 2010 17:03:01 +0300, Bamba <none@none.none> rašė:

> 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


Nepanašu net į tai, kad būtų bandymas. Pradėt galima, kad ir nuo čia:  
http://regexlib.com/(A(qG8RYV_1C4H0g8WAz8iVGAT2upjxt0WBo0zn4SsywWftfqShyyOZ2k6T2KJGCXG_WjZRpyb5i5BqWGICAr7Ie07JtNgWBAMg2_Jic_FMEzs1))/DisplayPatterns.aspx?cattabindex=6&categoryId=7