<?php $test = "?mincost=0&maxcost=3600&sort=1&items_page=204&page=1"; echo preg_replace("/[?&]page=[0-9]/", "", $test);
You have javascript disabled. You will not be able to edit any code.