I would like to find the above code and replace with my own code.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title></title>
<link href="default.css" rel="stylesheet" type="text/css" />
</head>
The regular expression I've tried is:
\<!.*[\r\n].*[\r\n].*[\r\n].*[\r\n].*[\r\n].*[\r\n].*[\r\n].*[\r\n].*[\r\n].*[\r\n]\<\/head\>
It works when I verified it by the online regex tool.
However, it doesn't work with either UltraEdit (Perl regex search mode)/Notepad++ (regex search mode).
Are there are some simplified/ more efficient and working solutions?
