Forum Moderators: coopster
preg_replace("/low_price=/\d+/&hi_price=/\d+", "low_price=200&hi_price=300", $url);
Please make corrections to my code. Thanks beforehands.
And one more question: where I can read about quantificators and grouping in PCRE? My book about PHP is to weak in this question
preg_replace("#low_price=([\d]+)&hi_price=([\d]+)#", "low_price=200&hi_price=300", $url);