You're missing the parenthesis around the contents of the element. You have
to make it a capture group, so that you can reuse it.
I think this will do what you want it to.
--Kerri​
On Thu, Jan 11, 2018 at 4:54 PM, bcross
wrote:
> I want to find all instances
> On Jan 12, 2018, at 6:54, bcross wrote:
>
> I want to find all instances of this tag in my document:
> .*?
([^<]*)
> and replace it with:
> .*?
\1
Everything you need to know is in the regex chapter of the BBEdit manual.
Jean-Christophe Helary
I want to find all instances of this tag in my document:
.*?
and replace it with:
.*?
But this does not work.
What is the correct way to do this?
--
This is the BBEdit Talk public discussion group. If you have a
feature request or would like to report a problem, please email