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?
Multiple Selections To select multiple regions using the keyboard, select a block of text, then press Ctrl+Shift+L to split it into one selection per line. When you're done with using multiple selections, just press Ctrl+K to trim all but the first.
Search functions in Sublime Text support regular expressions, a powerful tool for searching and replacing text. Regular Expressions find complex patterns in text.
NET RegEx engine is capable of matching nested constructions. Let's see some code. Now, let's say that the task is to match nested <div> 's in HTML code. String pattern = @" (?#
You can do it easily : Select all your lines, or the whole document Ctrl + A. Add multiple selectors : Ctrl + Shift + L (and in Mac: Command + Shift + L)
Sure. Press Ctrl+F, then type your regex pattern and hit Alt+Enter
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With