I want to change this:
<div class="panel panel-default">
...
</div>
to this:
<x-panel>
...
</x-panel>
I am using Replace in Path
feature.
What I typed on Search
box (this one seems to match correctly):
<div class="panel panel-default">[^>]*>[^{]*</div>
What I typed on Replace
box:
<x-panel>$1</x-panel>
It is giving me this error:
You have entered malformed replacement string $1
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…