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.

How to Search ‘n Replace Advanced Custom Field links 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:


  • What are Advanced Custom Fields (ACF)?

Published on: 2021-07-20
Updated on: 2024-04-22

Avatar for Isaac Adams-Hands

Isaac Adams-Hands

Isaac Adams-Hands is the SEO Director at SEO North, a company that provides Search Engine Optimization services. As an SEO Professional, Isaac has considerable expertise in On-page SEO, Off-page SEO, and Technical SEO, which gives him a leg up against the competition.