Please tell me what syntax to use to match only characters and only numbers because (.*) matches everything and that's not what i need. Thanks in advance, Dragos
Jon_King
8:33 pm on Nov 28, 2007 (gmt 0)
A dash between two characters within a character class [] denotes the range of characters between them.
[a-zA-Z] matches all lowercase and uppercase letters from a to z, A to Z.
Dragosh
4:49 pm on Nov 29, 2007 (gmt 0)
but what about numbers? how can i match only numbers?
jdMorgan
5:31 pm on Nov 29, 2007 (gmt 0)
Please see the regular expressions tutorial cited in our forum charter [webmasterworld.com]. There are many others on the Web as well; A Web search may turn up one that you find more usable.