i just don't get...this prints nothing:
echo preg_replace("/(.*)(\d*)(.*)/","$2","the price is $33 dollars");
I've been using these kind of regexes for several months, usually I
expect it should print 33.
Could some php configuration have changed somehow?
echo preg_replace("/(.*)(\d*)(.*)/","$2","the price is $33 dollars");
I've been using these kind of regexes for several months, usually I
expect it should print 33.
Could some php configuration have changed somehow?
Comment