Hi,
At the minute I have some output from a page where the variables will look like this..........
id1cat1
id1cat4
id3cat1
id5cat2
etc
Can anyone help with a regular expression that will get out the id and then the category from each line and put them into an array.
I've been looking and think thats its close to
/id(\d+)cat(\d+)/
but I don't know much about REGEX and theres not too many good tutorials for what I need.
Thanks