Search
Other DB Replacer questions
Forum

Search for link

Bas van den Dikkkenberg's Avatar Bas van den Dikkkenberg
I want to search for this link:
<a href="#login"

And then i want to do replace, i think i found the way to do the replace see below

[[replace from="<a href=\"#login\"" to="<a href=\"#\" data-bs-toggle=\"modal\" data-bs-target=\"#loginModal\""]] \1 [[/replace]]

But i can't get the where to work
Peter van Westen's Avatar Peter van Westen ADMIN
Are you talking about DB Replacer here?
Why not simply do this?
Search for:
<a href="#login"
And replace with:
<a href="#" data-bs-toggle="modal" data-bs-target="#loginModal"
Please post a rating at the Joomla! Extensions Directory
You can only post on the extension support forum if you have an active subscription and you log in

Buy a Pro subscription