In PHP I have a string like this:
$string = "frame= 7840 fps= 53 q=0.0 size= 651693kB time=00:04:19.99 bitrate=20533.9kbits/s eta=00:00:22.63"
I need to extract the number 7840 into its own string. The problem is the number 7840 can be any number, like 1 or 2034321. The point is, whatever number is after frame= needs to be extracted to its own string. In PHP how would I accomplish this?