User:Dimpizzy/MassEditRegex Guide

MassEditRegex can be used as an alternative to ReplaceText.


 * 1) Enable the extension, which is located under the Special Pages tab of the ManageWiki extension settings. It is called  . The extension may take some time to activate.


 * 1) Once activated, you can go to   on your wiki, or follow the link on the Special Pages page, in the Page Tools section.
 * 2) You can choose which pages to replace text in by selecting one of the four toggle options and entering text into the   box.
 * 3) To replace text in all pages in a category, choose.
 * 4) To replace text in specific pages, choose.
 * 5) If you would like to replace text in all pages, first go to Special:AllPages, then select and copy the list of pages. Paste the text into the  text box.
 * 6) You can search for text to replace with regular expressions which allows for complicated searches, but you can do a simple search by putting the text to search for in the   text box, surrounded by forward slashes.
 * 7) For example, to search for the text , enter   into the   box.
 * 8) There are certain characters that are "special" in regex, which means if you are searching for them, you need to place a back slash, , before those characters, or they will be interpreted as regex commands. Those characters are  ,  ,  ,  ,  ,  ,  ,  ,  ,  ,  ,    , and.
 * 9) For example, to search for , you would enter the text  . Note that the text is case sensitive.   will match with   but not with.
 * 10) Place the text you wish to replace the searched text with in the   text box.
 * 11) Press Show Preview before making any edits to make sure the edits are correct. If it seems good, you can press Execute to make the edits.

If you get an error saying that the pages do not exist, that probably means that the text in the  box is not proper regex. Make sure the text is surrounded with forward slashes and that all special characters are escaped with a back slash.

Feel free to edit and improve this guide.