I'm looking for a greedy RegEx match to replace all text in a number of HTML files between </title>
and </head>
(I've combined loads of JavaScript files to minimize the number of http requests).
I've googled it but the majority of the solutions don't seem to work for me. (Which naturally leads me to assume that i'm wrong)
This is my current expression which doesn't seem to work:-
</title>([^<]*)</head>
I'm using Dreamweaver 8 search and replace.
Between the two tags there are multiple includes for various javascript files for example:- which vary on a page by page basis.
I want to replace everything between those two tags in all pages with a consistant list of CSS / JavaScript inclues.