Strip A specific part from a url string in python
Strip A specific part from a url string in python Question: Im passing through some urls and I’d like to strip a part of it which dynamically changes so I don’t know it firsthand. An example url is: https://…?pid=2&gid=lostchapter&lang=en_GB&practice=1&channel=desktop&demo=2 And I’d like to strip the gid=lostchapter part without any of the rest. How do I …