I’m trying to use Extract with Regex to remove the parameters from URLs.
I’m starting with URLs like:
https://books.google.ca/books?id=6CeKtAEACAAJ&dq=intitle:%22youtube+tv%22&hl=&cd=1&source=gbs_api
I want it to end up like:
https://books.google.ca/books?id=6CeKtAEACAAJ
In that case, I want everything after the & to be trimmed off of the URL.
What is the Regex pattern that I need to use to be able to accomplish this?