Page 1 of 1

How to validate normal text with wite space.

Posted: Wed Nov 09, 2011 10:56 am
by ryan9979
Hi all,

I have been looking at the ctype functions hoping to find something that will validate normal text and white spaces like this post here without learning a new regex. Alnum is close but breaks on the white spaces.

Thanks in advance.

Re: How to validate normal text with wite space.

Posted: Wed Nov 09, 2011 11:04 am
by evstevemd
ryan9979 wrote:Hi all,

I have been looking at the ctype functions hoping to find something that will validate normal text and white spaces like this post here without learning a new regex. Alnum is close but breaks on the white spaces.

Thanks in advance.
what is wrong with regex?

Re: How to validate normal text with wite space.

Posted: Wed Nov 09, 2011 11:07 am
by ryan9979
nothing. just thought there might be an existing function I didn't know about.