Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199901

[PHP3] regular expressions question From: Alessandro Vullo (alex <email protected>)
Date: 01/08/99

Hello!
I post because I have a problem with regular expression function
I need to filter all the words, separated by ',' in a string.
An example: "hello,to, the,php,mailing,list"
I need to get 'hello' 'to' 'the' 'php' 'mailing' 'list'.
I tried with ereg("pattern",$string,$regs) and test with several
pattern, but $regs does not contains
the words I want.

Can you help me specify the correct pattern?
Thanks in advance
Alessandro

--
PHP 3 Mailing List   http://www.php.net/
To unsubscribe send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest list:  php3-digest-subscribe <email protected>
For help: php3-help <email protected>  Archive:  http://www.php.net/mailsearch.php3
List administrator:  zeev <email protected>