Title: greghester's Replies | WordPress.org

---

# greghester

  [  ](https://wordpress.org/support/users/greghester/)

 *   [Profile](https://wordpress.org/support/users/greghester/)
 *   [Topics Started](https://wordpress.org/support/users/greghester/topics/)
 *   [Replies Created](https://wordpress.org/support/users/greghester/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/greghester/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/greghester/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/greghester/engagements/)
 *   [Favorites](https://wordpress.org/support/users/greghester/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Relevanssi - A Better Search] Apostrophes](https://wordpress.org/support/topic/apostrophes-1/)
 *  [greghester](https://wordpress.org/support/users/greghester/)
 * (@greghester)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/apostrophes-1/#post-3520270)
 * Hi Mikko,
 * Thanks for all the information and great plugin.
 * When searching on oikonos.org using Relevanssi plugin…
    `Stejneger's Petrel` 
   Stejneger is not highlighted Petrel is highlighted.
 * If we use curly apostrophe to exactly match content
    `Stejneger’s Petrel` Then
   every “s” is highlighted in search results and Stejneger’s is still not highlighted.
 * I did add this code to functions.php as you said to do earlier in this thread
   regarding apostrophes
 *     ```
       add_filter('relevanssi_remove_punctuation', 'remove_apostrophes', 9);
       function remove_apostrophes($a) {
           $a = str_replace("'", '', $a);
           return $a;
       }
       ```
   
 * We updated plug-in yesterday and built the index again.
 * Regards,
    Greg

Viewing 1 replies (of 1 total)