Is it possible either through PHP or SQL to update Wordpress image URLs without using search and replace?
I ask because I have several hundred that I need to get changed but I can't use search and replace because each URL has a unique number that I need to remove.
It's the number right after the month in the Wordpress image URL. Each one is unique and I need to have it removed to have the image display correctly.
What the URL is currently: https://example.com/wp-content/uploads/2025/02/14212828/shutterstock_2345459.jpg
What the URL should be: https://example.com/wp-content/uploads/2025/02/shutterstock_2345459.jpg