

Replace X and Y from regex with minimum and maximum number of spaces you want to replace. If you have a need to replace spaces which are X or more but less than or equal to Y, use the following regex for “Find what” box. () Regex to Replace X or More But Less Than or Equal to Y Spaces with Tab Character For instance (3) replaces the group 3 which in this case is the character. Every replace character specifies the index of the group, starting at 1. If you have a need to replace exactly 2 spaces, use following regex for “Find what” box. Here every character is a captured group and is replaced by the characted in the replace string. \t represents a single tab character Regex to Replace Exactly 2 Spaces with Tab Character So it says to find a 1 or sequence of multiple consecutive space characters Note that there is a space character in between. Square brackets represent individual characters within it to search for. Im trying to arrange and manipulate Notepad++ icons and make some scripts, so, after generating the list from the MenuIcons plugin, I used this RegEx to. Here is what Regex does in layman’s terms.

