Submitted by ramez.hanna on Sun, 13/06/2004 - 06:44.
( categories: Programming )
i want to parse the string "_0_ _1_ _2_ _3_" to get the numbers in an array
i could do that for a fixed string but if the string is a variable in length i can't figure out how to do it i can write preg_match(|_0_\s_(0-9?+)_\s_(0-9?+)_\s_(0-9?+)_|) but this won't repeat it self i.e it can't do the job if the string becomes "_0_ _1_ _2_ _3_ _4_ _5_" i need help

Get GNU / Linux
News Feed
Blogs
Event Photos
Screen Shots
Polls
Popular Content
Members
Search
Wall Papers