Find all "(?>!(CONSTRAINT|--) .*)FOREIGN KEY", Regular expressions, Subfolders, Find Results 1, Current Project: Project.Sql\Project.Sql.sqlproj, "*.SQL"
The book is done!
1 day ago
Find all "(?>!(CONSTRAINT|--) .*)FOREIGN KEY", Regular expressions, Subfolders, Find Results 1, Current Project: Project.Sql\Project.Sql.sqlproj, "*.SQL"
class="\s*(\w+)\s+(\s\w+)?\s*"
replace:
class="$1$2"
It only handles up to 2 classes being inside and... I forgot to consider the possibility of having razor inside.
However, this shouldn't break that it just won't clean it.