Url Params Array, search); Source You can use this code to get only the search parameters from the url.