php Pre_match $ after number 1000$ by classifiedsguy

This script get price from string because the money sign before the number <? $text = "text text text $1000 text text text "; if (preg_match('/\$(\d+\.\d{1,2}\b|\.\d{1,2}\b|\d+(?!\.))/', $text, $match))… (Budget: $30-$250 USD, Jobs: PHP)


Leave a Reply

Your email address will not be published. Required fields are marked *