Mar 6, 2001, 8:45 PM
Post #1 of 3
say i have a string like the following:
reg express question
$string = 'sxuy asdf 2143 asdf <id>jason</id>dfasdf asf safsa <id>john</id> asdlfj sf safd sdf <id>joe</id>';
question now is how do i get all the ids from that string and put them into an array?
all ids are between <id> and </id>
thanks for your help.