Search & Replace

Search and replace text in the current page, section or notebook


Author(s) : Onetastic ★
Category : Find
Last Updated : May 06, 2023
Requirements : OneNote 2010 or above
Watch this short video to learn more about this macro
Screenshot :

Search & Replace

Find what
Replace with
Changelog :

May 06, 2023 (34DF2D) - Onetastic ★
Moved advanced functionality under Advanced button

December 05, 2022 (8CF200) - Onetastic ★
Added menu to keep last 10 search & replace operations for quick access

September 08, 2022 (E82ECD) - Onetastic ★
Added Match prefix and suffix options

January 18, 2021 (A071EF) - Onetastic ★
Now remembers the last 20 search and replacement terms.

March 23, 2019 (2C3441) - Onetastic ★
Added option for Match Whole Word Only

January 23, 2018 (4B1DA4) - Onetastic ★
Now remembers the previous values of Search, Replace, Scope and Match case

June 20, 2017 (5DF85B) - Onetastic ★
Added option to search in selected pages in the current section. Useful if you want to search and replace only in certain pages in the current section.

June 20, 2016 (F98703) - Onetastic ★
Re-written with the new Macro Language to take advantage of cleaner syntax and performance improvements

These versions are no longer supported:

November 06, 2013 - Onetastic ★
Added option to search under Current section, Current notebook and All notebooks

March 02, 2013 - Onetastic ★
Initial version


jxyuhua - 2022-04-06
this extension need a license, is it charge now?
SBTL - 2022-02-18
Is there a way to use this without it removing the colour of the text?..
I have these links on all pages:
Books of The Bible (NASB) - (Orange)
Books of The Bible (NOTES) - (Yellow)

But when I use search and replace both links turn back to blue (normal link colour) on every page in that section...
Sandra - 2022-02-02
So, this is certainly very nice, however, it seems to understand plain text only.  I am taking Chemistry notes, and wanted to replace all instances of H+ with H superscript +.  I copied an instance of H superscript + into my clipboard, but when I pasted it into the Search and Replace replace box, the plus was plain, and not superscript.  So unfortunately, it won't help me.  Darn!