Select By Regex ================== [![Package Control](https://packagecontrol.herokuapp.com/downloads/Select%20By%20Regex.svg?style=flat-square)](https://packagecontrol.io/packages/Select%20By%20Regex) ![Select](images/SelectAll.gif) This plugin used to select by regex. Command `Select By Regex: All` selects all, `Select By Regex: Next` selects first found regex for each selection. If you want restrict search for line, use `Expand Selection to Line` before calling `Select By Regex` command.
If regex contain groups, then groups will be select. To exclude group from selection use `(?:...)` group. `Select By Regex: Next` can also use `$_` to match string under current selection. ![Select All](images/SelectRegexAll.png) ![Select Next](images/SelectRegexNext.gif) Consecutive `Next` --- You can run `Next` command while it is active to go through matches: ![Select Next Seq](images/SelectRegexSeq.gif) Bind to keys --- You can use this keymap
{
    "keys": ["alt+shift+/"],
    "command": "select_by_regex_all",
},
{
    "keys": ["alt+/"],
    "command": "select_by_regex_next"
}