I have 40 html pages. all this html pages contains a number of classes and ids. My client wants to prefix the class and ids like this: “z_classname”, “#z_id” with all ids and classes throughout the 40 html pages.
Now I did this all by manually. I want to check the ids and classes where I am not prefixed. For that I like to use the regexp using my komodo editor find option. Komodo editor has the regexp support with find option. Anyone can help me how I can make the regexp to find the class and id’s which is not contain the prefix “z_” ?
Don’t know if Komodo’s regex engine supports lookahead, but if it does, then
should work.
Replace that with
or possibly
(again, depending on the implementation details of the Komodo regex library).