Title: basic text not matching
Last modified: January 5, 2021

---

# basic text not matching

 *  Resolved [novaclic](https://wordpress.org/support/users/novaclic/)
 * (@novaclic)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/basic-text-not-matching/)
 * Hello,
 * I’m using RTFR for years, and for the first time, I couldn’t get a match.
    The
   string I’m working on as seen in HTML source code is
 * > les informations visées aux articles 13 et 14
 * I’ve setup a search/replace rule on “articles 13” to be replaced by an hyperlink,
   but it is never fired/replaced. I also tried with a simplier replacement texte(“
   articles-13”), same issue.
    To be sure the plugin is properly working, I’ve added
   a rule on “et 14” to be replaced by “et 14” (with amp nbsp; between “et” and “
   14”) : it is correctly replaced.
 * Have anybody a clue on what is going on ?
    Thank you
    -  This topic was modified 5 years, 5 months ago by [novaclic](https://wordpress.org/support/users/novaclic/).
    -  This topic was modified 5 years, 5 months ago by [novaclic](https://wordpress.org/support/users/novaclic/).
    -  This topic was modified 5 years, 5 months ago by [novaclic](https://wordpress.org/support/users/novaclic/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fbasic-text-not-matching%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Marios Alexandrou](https://wordpress.org/support/users/marios-alexandrou/)
 * (@marios-alexandrou)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/basic-text-not-matching/#post-13866483)
 * Some ideas:
 * 1. Make sure you’re using your browser’s “view source” to confirm the text you’re
   trying to match exists exactly as you’ve typed it.
 * 2. Make sure there isn’t another rule that is modifying the same text.
 * 3. It’s usually not the replacement that’s the problem, but the find portion.
   So start by matching just the word “articles”, then “articles “, and then “articles
   13”. There might be an invisible character and this will help you find it.
 *  Thread Starter [novaclic](https://wordpress.org/support/users/novaclic/)
 * (@novaclic)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/basic-text-not-matching/#post-13866875)
 * Thank you Marios for your suggestions.
    I suspected a hidden character, that’s
   why I used the “source code” view and copy-pasted the strings, but with no result.
 * I’ve tried the step 3, and found out that indeed the issue is between the ‘s’(
   of string “articles”) and the number “13”.
 * I’ve “saved as” the source code, and opened it in an hex-editor. I found the ‘
   s’ (from articles) : 0x73 followed by 0xC2 and 0xA0 (instead of expected 0x20
   space):
    Bingo, “Hex C2A8 is UTF8 for non-breaking space”
 * –> I finally managed with a regexp to match something that I couldn’t see:
    `/
   articles\xC2\xA013/`
 * will match “articles 13” with an invisible UTF8 non-breakable space.
    -  This reply was modified 5 years, 5 months ago by [novaclic](https://wordpress.org/support/users/novaclic/).
      Reason: typo correction

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

The topic ‘basic text not matching’ is closed to new replies.

 * ![](https://ps.w.org/real-time-find-and-replace/assets/icon-256x256.png?rev=1347950)
 * [Real-Time Find and Replace](https://wordpress.org/plugins/real-time-find-and-replace/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/real-time-find-and-replace/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/real-time-find-and-replace/)
 * [Active Topics](https://wordpress.org/support/plugin/real-time-find-and-replace/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/real-time-find-and-replace/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/real-time-find-and-replace/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [novaclic](https://wordpress.org/support/users/novaclic/)
 * Last activity: [5 years, 5 months ago](https://wordpress.org/support/topic/basic-text-not-matching/#post-13866875)
 * Status: resolved