Forum Discussion

n913's avatar
n913
Copper Contributor
May 16, 2025

Sharepoint Online - Searching for terms including special characters

I have a specific search term, that includes a special character (&) at the end. When I try to search this on Sharepoint online, it's not picking this up.

 

As an example, I would like to search for all documents including "word&". However, I am only shown results with documents including "word" and not "word&". How do I search, to ensure that it only returns results that contain the special character in this example.

3 Replies

  • SharePoint Online’s search engine simply doesn’t index “&” (or most other punctuation) as part of words—so no matter how you quote or escape it, the KQL parser will strip it out and match on “word” only. Unfortunately, there is no out-of-the-box way to get the UI search to return only items containing the literal string “word&”.

  • alanwalker19991's avatar
    alanwalker19991
    Copper Contributor

    yes but i think this is key to selove your problem,50dUfe8ajR3D6ADFDF69AC694A0BE6A8AC74E3FE1E46226F7972ACD354A824044D5D5D791810116B926F7F0FEB2F2B722FDF7F140BE4FE7D1062elJXr53px

    • n913's avatar
      n913
      Copper Contributor

      Sorry - not sure I understand?

       

Resources