http://www.example.com/product/9896341.html?utm_source=google&utm_medium=VRM&utm_campaign=N&cid=vizuryjz&utm_content=&color=red&pid=9896341
in the above url, i need to remove text followed in utm_source=google
, suppose if in url utm_source="text"
i need to replace "utm_source=text"
with ""
.
please guys help me for regular expression.