<?php
$str = " Invoice DATE 13/11/2012 INVOICE # 9314 BILL TO Jh Architecture3230 Mainway, Unit 3 Burlington, Ontario L7M 1A5att: James Hettinger P.O. # TERMS Net 30 DUE DATE 13/12/2012 GST # 868302522 Total: Balance Due: Subtotal: Total Sales Tax: Payments: Thank you for your business. To Pay by Credit Card, simply sign-in to yourPlanmine account or call us. Otherwise, please make a wire transfer payment or sendus a check. Banking Info for Wire Transfer Payments:CAD Account #: 3400018 USD Account #: 0283312Name: CIBC Address: 1 St. Clair Avenue West, Toronto, Ontario M4V 1K7Transit Number: 00112 Institution Number: 0010Swift Code: CIBCCATT ITEM DESCRIPTION QTY RATE AMOUNT Retail Job #M-4876: 676 Appleby Line, Unit Daycare 6,035 0.065 392.28Retail Job #M-4876: 676 Appleby Line, Unit Daycare (Wall Outlets Add-On) 6,035 0.0325 196.14Retail Job #M-4876: 676 Appleby Line, Unit Daycare (Reflected Ceiling Plan) 6,035 0.065 392.28 October 11, 2012: Retainer payment received for invoice#6204876. Paid by VISA in the amount of $459.06. (reference #gmtsvpsz9n1m)HST on Sales 13.00% 127.49 $1,108.19 $649.13 $980.70 $127.49 -$459.06";
$poot = preg_match_all('/\$(\S+)/imx', $str, $result, PREG_PATTERN_ORDER);
var_dump($result);
preferences:
40.52 ms | 402 KiB | 5 Q