Search
Other DB Replacer questions
Forum

How to search all <script>something here</script>?

Antonio The Ant's Avatar Antonio The Ant
Hello
how to search all <script>something here</script>?
I tried <script>.*?</script>
In one of my site (the latest in Joomla 3.x) there are a lot of things like in the screeshot:


Thanks
Peter van Westen's Avatar Peter van Westen ADMIN
What are you trying to search and replace?
Please post a rating at the Joomla! Extensions Directory
Antonio The Ant's Avatar Antonio The Ant
I want to remove all the <script>...</script>
Peter van Westen's Avatar Peter van Westen ADMIN
This should do what you want:
<script[^>]*>.*?</script>
Please post a rating at the Joomla! Extensions Directory
Antonio The Ant's Avatar Antonio The Ant
Sorry but it didn't find anything.

Here is an example of a page with the script I would like to delete:
drive.google.com/file/d/1ShGf34KLE3tWvLG.../view?usp=drive_link
Peter van Westen's Avatar Peter van Westen ADMIN
Have you switches the Regular Expressions setting on?

Can you give me (super) admin access so I can take a look?
You can use the 'Confidential information' button in the forum editor to hide sensitive information.
Please post a rating at the Joomla! Extensions Directory
Antonio The Ant's Avatar Antonio The Ant
Sorry! I had forgotten the Regular Expression checkbox. All taken care of, thank you.
You can only post on the extension support forum if you have an active subscription and you log in

Buy a Pro subscription