Reputation: 345
I have a large file with a lot of <h1></h1>
tags with various text between it. I'm searching for a way to remove all text between those tags, which might also include newline chars.
Any help would be appreciated.
Update: Tried this, but doesn't work... (ofcourse cursor was at begin of file)
Upvotes: 3
Views: 4302
Reputation: 32797
Select . matches new line
and regular expression
option
Find what:<h1>.*?</h1>
Replace with:<h1></h1>
Upvotes: 6