How to Search ‘n Replace ACF links in WP

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-09-03

Avatar for Isaac Adams-Hands

Isaac Adams-Hands

Isaac Adams-Hands is SEO Director with SEO North, where he helps the team plan marketing goals that are keyword-optimized and measurable for over 30 clients simultaneously. He has worked at Microsoft, The institute of chartered accountants in Australia, Auto Trader, Le Cordon Bleu, and Algonquin College in various Digital Marketing Roles. Isaac is qualified as a Full-stack developer, Server Administrator, and Cyber Security expert, adding additional experience to his Search Engine Optimization knowledge. His Inuit heritage brought him to the Arctic to hunt and fish for most summers, which grew his passion for 4-wheelers and dirtbikes.