How to Search n Replace links in ACF

replace links in acf

Here is a quick tutorial on finding and replacing links and content in Advanced Custom Fields (ACF) using the Search Regex plugin in WordPress.

  1. Install Search Regex

    search regex

    Install & Activate Search Regex WordPress Plugin

  2. Do a custom Regex Search


    Go to Search Regex under Tools in the sidebar of WordPress

  3. Select Post Media

    advanced source media

    Under the Source field, select Post Media under Advanced

  4. Remove ACF Links

    replace links

    Once you have the Post Media field selected, you will be able to search for content within ACF

I have created a short video to show you how you can quickly replace links in ACF using Search Regex:

Published on: 2021-07-20
Updated on: 2021-07-25

Avatar for Isaac Adams-Hands

Isaac Adams-Hands

Isaac Adams-Hands is a man of many hats. He is an SEO Director, Full Stack Developer, and InfoSec enthusiast who has done stints in marketing positions at search portals, higher education, and addiction recovery agencies. Isaac received his Bachelor’s Degree from the University of Western Sydney before making his way into the world of technology.