I am using the GoogleBooks API to search for particular titles by name and retrieve a cover image URL. For example, searching for "The Great Gatsby" will return the following image link: 

<http://books.google.com/books/content?id=HestSXO362YC&printsec=frontcover&img=1&zoom=1&edge=curl&source=gbs_api>

If you look at the following image, you can see that there is a small fold on the bottom right corner. Some image URLs will have the fold and others won't. If you remove `edge=curl` from the URL link, the fold is removed. 

Is there any way to use a regex to find and delete the curled portion? 

Further, is there any way to use regex to change the `img=1` value to `img=2`?