Microsoft word searching Algorithm RRS feed

  • Question

  • Hey there,

    I just would like to know what algorithm is Microsoft word using to search and find a word in text ?!

    Thanks in advance.

    Friday, December 7, 2018 6:00 PM

All replies

  • Microsoft doesn't publish the algorithms it uses in its Office applications.

    Regards, Hans Vogelaar (

    Friday, December 7, 2018 9:02 PM
  • No idea what it uses now, but according to the source code for Word for Windows 1.1a (see, e.g., originally it used the Boyer-Moore algorithm. (In that version, the Find ("Search") options were simpler than they are now - you got to specify the search direction, whether or not to search for whole words or not, and whether or not to match upper/lower case, there was a way to specify formatting, and there was some form of wildcard searching.

    Peter Jamieson

    Saturday, December 8, 2018 8:17 AM