Reply
Old 09-17-2002, 01:21 PM PHP ereg question
msmekens's Avatar
Junior Talker

Posts: 3
Trades: 0
Hey ,

can aynone tell me how to check foor the following reg. expression ?

xxxxx xxx

What I mean is how to check if a given String is made up of 2 words, like first and lastname

Hope I am clear enough...

M
msmekens is offline
Reply With Quote
View Public Profile Visit msmekens's homepage!
 
 
When You Register, These Ads Go Away!
Old 09-17-2002, 07:19 PM
dk01's Avatar
Ultra Talker

Posts: 373
Location: Ames, IA
Trades: 0
ereg('[:alpha:][:space:][:alpha:]', $namestring);

This is just a late night guess! Please check it!
-dk
__________________
Did I help you? If so, be nice and throw me some TP
dk01 is offline
Reply With Quote
View Public Profile Visit dk01's homepage!
 
Old 09-18-2002, 06:40 AM
msmekens's Avatar
Junior Talker

Posts: 3
Trades: 0
Thanks,

I'll try it in a few moments, let you know.

M
msmekens is offline
Reply With Quote
View Public Profile Visit msmekens's homepage!
 
Old 09-18-2002, 04:46 PM
dk01's Avatar
Ultra Talker

Posts: 373
Location: Ames, IA
Trades: 0
hmm... wonder if it was right. lol.
-dk
__________________
Did I help you? If so, be nice and throw me some TP
dk01 is offline
Reply With Quote
View Public Profile Visit dk01's homepage!
 
Reply     « Reply to PHP ereg question
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 



Page generated in 0.11478 seconds with 13 queries