Quote:
Originally Posted by patrik
If I may...
I want to remove a beginning div.
It's like this:
<body>
<div lang="en">
(bunch of stuff)
</div>
</body>
I thought something like <div lang="en">.*</div> would match.
|
You might want to make sure that you match the last </div> in the file. So perhaps <body> <div lang="en">(.*?)</div> </body>
and replace with
<body>\1</body>
As usual, make sure you have a backup before making changes.