Brother, you did not understand my problem I have two special characters ?first_name=berro&last_name=sin? in which want to delete if the value will give in this ? specific character then remove otherwise not
The values will give dynamically
Well, you can use the PHP parse_str() function. And analyze your URL in the multi-parameter array, then delete the needs parametrs. And to join the string again using the PHP http_build_query() function.
Thanks, @jlrdw for replying to me... I want to remove some portion of the string between these special characters ? asdfasdf ? Values will give different every time between these special characters