Find and Replace by regex

Dick Angus <[email protected]>
Newsgroups gmane.comp.kde.devel.quanta.user
Organization @ home
Message-ID <[email protected]>
I am sure this has been asked before, but I couldn't find it and I'm stuck. I 
want to find all cases of:
 

 digit</p>
 

and change them to:
 

digit</h2>
 

where digit can be any single numeric. The problem I have is that digit must be 
part of the find, but I can't get the replace to leave it there for me?
 

TIA and I'm sorry if this is repetitive.

An old mainframer getting current

_______________________________________________
Quanta mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/quanta
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.