Title: Replacing
Last modified: January 11, 2026

---

# Replacing

 *  Resolved [Popcorn Jedi](https://wordpress.org/support/users/max1138/)
 * (@max1138)
 * [4 months ago](https://wordpress.org/support/topic/replacing-3/)
 * Hi,
 * I wish to change
 *     ```
       <p align="right"><span style="font-size: 24px; font-family: doublefeature20;"><a href="https://www.youtube.com/c/GrindhouseMovieTrailers" target="_blank" rel="nofollow noopener noreferrer"><i>Grindhouse Movie Trailers</i></a></span></p>
   
       <hr />
   
       &nbsp;
       ```
   
 * to simply
 * `<p align="right"><span style="font-size: 24px; font-family: doublefeature20;"
   ><a href="https://www.youtube.com/c/GrindhouseMovieTrailers" target="_blank" 
   rel="nofollow noopener noreferrer"><i>Grindhouse Movie Trailers</i></a></span
   ></p>`
 * But doing a basic search, it does not find the text etc. unless I remove the 
   hr and no space stuff.
 * I do have the search set for multiline but I just need to know what settings 
   I need to make sure SE finds the code so I can replace it
 * Please help

Viewing 10 replies - 1 through 10 (of 10 total)

 *  Plugin Author [John Godley](https://wordpress.org/support/users/johnny5/)
 * (@johnny5)
 * [4 months ago](https://wordpress.org/support/topic/replacing-3/#post-18782604)
 * A search will only match if it’s exactly the same, so maybe there is some difference.
   What is your search?
 *  Thread Starter [Popcorn Jedi](https://wordpress.org/support/users/max1138/)
 * (@max1138)
 * [4 months ago](https://wordpress.org/support/topic/replacing-3/#post-18782744)
 * The search, input into the search box is:
 *     ```
       <p align="right"><span style="font-size: 24px; font-family: doublefeature20;"><a href="https://www.youtube.com/c/GrindhouseMovieTrailers" target="_blank" rel="nofollow noopener noreferrer"><i>Grindhouse Movie Trailers</i></a></span></p>
   
       <hr />
   
       &nbsp;
       ```
   
 * The html is pretty much identical on every page/article it is on
 * Here’s a screen cap
 * [https://snipboard.io/UwRiGX.jpg](https://snipboard.io/UwRiGX.jpg)
 *  Thread Starter [Popcorn Jedi](https://wordpress.org/support/users/max1138/)
 * (@max1138)
 * [4 months ago](https://wordpress.org/support/topic/replacing-3/#post-18782755)
 * As an addition, posting this gets results:
 * `<p align="right"><span style="font-size: 24px; font-family: doublefeature20;"
   ><a href="https://www.youtube.com/c/GrindhouseMovieTrailers" target="_blank" 
   rel="nofollow noopener noreferrer"><i>Grindhouse Movie Trailers</i></a></span
   ></p>`
 * Posting this, doesn’t:
 *     ```
       <p align="right"><span style="font-size: 24px; font-family: doublefeature20;"><a href="https://www.youtube.com/c/GrindhouseMovieTrailers" target="_blank" rel="nofollow noopener noreferrer"><i>Grindhouse Movie Trailers</i></a></span></p>
   
       <hr />
   
       &nbsp;
       ```
   
 *  Plugin Author [John Godley](https://wordpress.org/support/users/johnny5/)
 * (@johnny5)
 * [4 months ago](https://wordpress.org/support/topic/replacing-3/#post-18783112)
 * If I post that multiline content into a post and then do a multiline search, 
   it is found. As mentioned earlier, is it possible that there is a difference 
   on your site? Maybe there are additional characters you are missing.
 *  Thread Starter [Popcorn Jedi](https://wordpress.org/support/users/max1138/)
 * (@max1138)
 * [4 months ago](https://wordpress.org/support/topic/replacing-3/#post-18783213)
 * Not that I can find
 * 🙁
 *  Plugin Author [John Godley](https://wordpress.org/support/users/johnny5/)
 * (@johnny5)
 * [4 months ago](https://wordpress.org/support/topic/replacing-3/#post-18783240)
 * Your text, as pasted here, is working for me without any issues or special settings
   needed. Maybe you can try to create a similar post, using the text copied from
   here, and see if it is found.
 *  Thread Starter [Popcorn Jedi](https://wordpress.org/support/users/max1138/)
 * (@max1138)
 * [4 months ago](https://wordpress.org/support/topic/replacing-3/#post-18783344)
 * Ack, doesn’t work
 * Looks like a post by post edit is in my future
 * Thanks for the help.
 *  Plugin Author [John Godley](https://wordpress.org/support/users/johnny5/)
 * (@johnny5)
 * [4 months ago](https://wordpress.org/support/topic/replacing-3/#post-18783368)
 * It works for me, and the plugin is capable of doing the task. Why it doesn’t 
   work for you I don’t know, and it’s likely to be something to do with your set
   up or you are doing something else to affect the search. You could try splitting
   the search up a bit until you find exactly what part is not matching. For example,
   can you find the `&nbsp;` on its own. Then with a new line before it, then with
   the the `hr` etc.
 *  Thread Starter [Popcorn Jedi](https://wordpress.org/support/users/max1138/)
 * (@max1138)
 * [4 months ago](https://wordpress.org/support/topic/replacing-3/#post-18783384)
 * Oh, I know it’s capable, I’ve used it for years, must be something to do with
   Automattics (WordPress.com) set up
 * I’ll keep trying
 * 🙂
 *  Thread Starter [Popcorn Jedi](https://wordpress.org/support/users/max1138/)
 * (@max1138)
 * [4 months ago](https://wordpress.org/support/topic/replacing-3/#post-18783512)
 * Weird, it turns out that although in the post Code it was
 *     ```
       <hr />
   
       &nbsp;
       ```
   
 * But the actual culprit was
 *     ```
       <hr />
   
       <em><span style="font-size: 18px; font-family: Butcherman;"> </span></em>
       ```
   
 * Had to delve into the wp_post.sql to find it but inputting the above worked and
   has saved me a helluva lotta time.
 * Thanks
 * 🙂

Viewing 10 replies - 1 through 10 (of 10 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Freplacing-3%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/search-regex/assets/icon-256x256.jpg?rev=1030025)
 * [Search Regex](https://wordpress.org/plugins/search-regex/)
 * [Support Threads](https://wordpress.org/support/plugin/search-regex/)
 * [Active Topics](https://wordpress.org/support/plugin/search-regex/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/search-regex/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/search-regex/reviews/)

 * 10 replies
 * 2 participants
 * Last reply from: [Popcorn Jedi](https://wordpress.org/support/users/max1138/)
 * Last activity: [4 months ago](https://wordpress.org/support/topic/replacing-3/#post-18783512)
 * Status: resolved