Multi-selection with regex (sublime text 2)
Is there a way I can enable multi-selection with regex? I don't want to do search and replace, I just want to highlight/select all of the matches according to regex.
Is this possible?
Solution 1:
Sure. Press Ctrl+F, then type your regex pattern and hit Alt+Enter
Solution 2:
You can activate/deactivate the regex mode in the search view clicking this icon:
Note that there is also a shortcut to activate it: Alt+R by default.