NYCPHP Meetup

[nycphp-talk] EREG Question

Chris Shiflett shiflett at php.net
Wed Feb 5 10:52:51 EST 2003


--- "Pete Czech - New Possibilities Group, LLC"
<pete at npgroup.net> wrote:
> if ^ or , occur before the number and , or ? occur after
> - then replace - since the numbers come in 1,2,3,4 form.

Can you give an example? If you just have a comma-delimited
list of numbers, all you need is explode() to give yourself
a nice array of those numbers to work with. If it is not a
simple comma-delimited list, give us an example of what you
are parsing.

Chris



More information about the talk mailing list