Re: [PHP] Re: REG-EXPR: Allowing limited number of special chars in usernames

2006-03-16 Thread Barry
Holger Sunke wrote: Yes thank you, that's all I need! * beware that you're saying *anything* other than alpha-numeric chars Yeah that's why it wont work with asian or kyrillian users. Probably writing a function that counts each special char could be an answer ... prolly -- Smileys ru

[PHP] Re: REG-EXPR: Allowing limited number of special chars in usernames

2006-03-15 Thread Rafael
Holger Sunke wrote: I dont know that much aboput regular expressions and just want to know how to find out the number of special (non alphanumeric) characters in a string or how to match a string that contains less than 3 special chars. I don't really understand what you need, but... -

[PHP] Re: REG-EXPR: Allowing limited number of special chars in usernames

2006-03-15 Thread Barry
Holger Sunke wrote: Hello, I dont know that much aboput regular expressions and just want to know how to find out the number of special (non alphanumeric) characters in a string or how to match a string that contains less than 3 special chars. urrently im using a function function valid_user