[PHP] Re: Yet another regex question

2002-02-04 Thread liljim
Hello again, > This is excellent. If you don't mind digging out your functions, I'd much > appreciate it... I'll have a look tomorrow. > The previous question was for alpha only, no numeric ...names dont have > numbers, but addresses usually do. Alright, well: [a-z] matches a through z [A-Z]

[PHP] RE: Yet another regex question

2002-02-04 Thread Simon H
Thanks James This is excellent. If you don't mind digging out your functions, I'd much appreciate it... > Hello, Simon > > "Simon H" wrote in message... > > I'm trying to validate an input form, for database INSERT/UPDATE. I'm > > looking for a couple of Techniques and I cant seem to find

[PHP] Re: Yet another regex question

2002-02-04 Thread liljim
Hello, Simon "Simon H" wrote in message... > I'm trying to validate an input form, for database INSERT/UPDATE. I'm > looking for a couple of Techniques and I cant seem to find examples > anywhere: > > 1. Validate Alpha Text with spaces, such as NAME, CITY, STATE, but limit the > length of ea