illmasterj
BuSo Pro
- Joined
- Aug 5, 2018
- Messages
- 462
- Likes
- 402
- Degree
- 2
Is there a simple way to clean up a very neglected WordPress site full of Amazon Associates links?
For example:
Usually I use Notepad++ to replace everything after the last slash with nothing. But this doesn't work in the second use case.
For example:
https://www.amazon.com/gp/product/1612334437/ref=as_li_tl?ie=UTF8&camp=1889&creative=390967&creativeASIN=1612434487&linkCode=as2&tag=eighty1-20&linkId=ZYR5Y578FDKDKN
https://www.amazon.com/dp/B008V2OAV4?tag=forty4-20
Usually I use Notepad++ to replace everything after the last slash with nothing. But this doesn't work in the second use case.