Regex Search Help
For a line like:
a:2:{i:0;s:1:"1";i:1;s:1:"2";}
I want to find any integer inside quotes and create an array of all integers found in the string.
The end result should be an array like:
Array
(
[0] => 1
[1] => 2
)
I assume you are using preg_match (), but I have no experience with regex :(
+1
Quinn
a source
to share
2 answers