I want to grab only the cents from the strings I have, not the full dollar.. anything that starts with 0.xx is what I want to echo out:
$paste = "08/29/2014 Interest Paid $ 0.03 $ 37.69
08/25/2014 ACH Deposit $ 0.93 $ 37.66
08/20/2014 ACH Deposit $ 0.63 $ 36.73
08/04/2014 ACH Deposit $ 0.95 $ 36.10
08/04/2014 ACH Deposit $ 0.57 $ 35.15
08/04/2014 ACH Deposit $ 0.88 $ 34.58
07/31/2014 Interest Paid $ 0.01 $ 33.70
07/31/2014 ACH Deposit $ 0.13 $ 33.69
07/31/2014 ACH Deposit $ 0.96 $ 33.56
07/31/2014 ACH Deposit $ 0.65 $ 32.60
07/31/2014 ACH Deposit $ 0.53 $ 31.95
07/31/2014 ACH Deposit $ 0.83 $ 31.42
07/30/2014 ACH Deposit $ 0.63 $ 30.59
07/28/2014 ACH Deposit $ 0.76 $ 29.96";
I have tried the following but it wouldn't do what I need it nor echo line by line of the cents i'm looking for...
$find = strpos($paste, '0.');
sscanf(substr($paste, $find), '0.%d', $numbers);
Any help I can get on this is greatly appreciated. Thank you in advance..