I am trying to remove each instance of :
addTocInfo("<varying string>")
where <varying string> might have any number of characters.
I have found some but not all of them.
In addition,
I would like to remove all scripts from an html page, i.e.
<script>.*</script>
but I would like to do so even if it spans multiple lines
Thanks in advance.
2 specific replace difficulties
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
- s_reynisson
- Posts: 939
- Joined: Tue May 06, 2003 1:59 pm
Using Regular expression and Replacement format:I have also used the POSIX format which can be found under Options.
Note that both examples will find your strings on multiple lines.
Hope that helps
Code: Select all
Find what addTocInfo\("<.*?>"\)
Replace with Empty
Code: Select all
Find what <script>.*?</script>
Replace with Empty
Note that both examples will find your strings on multiple lines.
Hope that helps
Then I open up and see
the person fumbling here is me
a different way to be
the person fumbling here is me
a different way to be