css - Sublime Text 2 remove all Class items from entire project folder -


we have taken on designed website. going rewrite css scratch. current website project has several 'class="stuff foo"' , tons of other classes.

is there way in sublime text 2 remove item within class elements?

example:

<div id="basiclogin" class="login 50per wide homepage"> 

cleaned to:

<div id="basiclogin" class=""> or <div id="basiclogin"> 

create project in sublime text , add folders need work with.

use "find > find in files" find/search in open files , folders (they folders added project, , shown in sidebar)

mark "regular expression" option (icon .*). use search pattern:

\s+class="[^"]*"

and empty replace string.


Comments

Popular posts from this blog

c# - SVN Error : "svnadmin: E205000: Too many arguments" -

c++ - Using OpenSSL in a multi-threaded application -

All overlapping substrings matching a java regex -