For anyone searching this years later, like me…
I tried to replace links I created with ACF and couldn’t find the URL fragments I was searching for in wp_posts, wp_postmeta, anywhere.
Let’s say I was searching for /contact/
and replacing with /pricing/
.
Finally looked at the post content itself and discovered that the trailing slash was escaped and that’s why my search & replace was missing it.
Searching for /contact\/
and replacing with /pricing\/
worked.
Minor mystery but here we are.