Kinda of a noobie in PHP and Regex, I receive the following from a web service:
test:002005@1111@333333@;10205@2000@666666@;002005@1111@55555@;
The above line is a sequence of 3 numbers which repeats 3 times. I would like to get the 3rd number of each sequence and I believe the best course (besides 3000 explodes) would be preg_match_all but I am having a tough time wrapping my mind around RegEx.
The end result should look like this:
Array
(
[0] => 333333
[1] => 666666
[2] => 55555
)
Thanks in advance for any help.