Hi,
I have a real lot of books all having the following head:
Code:
<head>
<meta content="2009-03-15T01:30:38" name="date" />
<meta content="OpenOffice.org/3.0$Linux OpenOffice.org_project/300m15$Build-9379" name="generator" />
<title>Unknown</title>
<link href="../Styles/stylesheet.css" rel="stylesheet" type="text/css" />
<style type="text/css">
@page { margin-bottom: 5.000000pt; margin-top: 5.000000pt; }
</style>
</head>
<body class="calibre">
which I want replace within each book with "my own" header but retaining the part
Code:
<title>Unknown</title>
<link href="../Styles/stylesheet.css" rel="stylesheet" type="text/css" />
In the meantime I already have a little experience with regexes but here I am overextended.
Can anyone help me with a regex finding the first code?
With the replace function I'll not have any problems.
1000 thanks in advnce for your kind help!
Peter