Renaming CSS classes across HTML files
Posted
by hekevintran
on Stack Overflow
See other posts from Stack Overflow
or by hekevintran
Published on 2010-04-08T02:17:21Z
Indexed on
2010/04/08
2:23 UTC
Read the original article
Hit count: 383
If I have 100 HTML files that use a set of CSS classes, is there a utility that I can use to intelligently rename the classes?
I know that every editor/IDE has a find/replace in project feature. Using sed you can do the same thing. This is not intelligent because it is a simple string replace. I want to know of a tool that actually understands what a CSS class is and how to replace instances of it. I suppose a fancy regular expression can do the same thing.
© Stack Overflow or respective owner