My most used regex commands

Remove everything between curly brackets including the curly brackets:


Delete empty lines:


Search for everything between string/tags


Replace foo and bar This may alo work in some cases:


replace with the strings you want to start and end with… Select every line

Ctrl + Shift + L Split into Lines

Regex remove class HTML attribute