One thing to watch for is that in your search, you are looking for curly
quotes (actually a mix of straight and curly quotes), which should all
be straight.
Rick Gordon
--------------------
On January 30, 2020 at 2:18:30 PM [-0800], Jefferis Peterson wrote in an
email entitled "Re: Grep for removing injection spam links in a database
or html":
Thank you GP That worked very well for 80 links, but i found
another set of links masked by making the text invisible in the posts...
<a style="text-decoration:none; color: #f9f9f9;"
href="http://alwaysvaltrexonline.com">buy valtrex online</a>
There are 3 variations... the addition of colons in the style, and
the addition of the color# and instead of using a single period to
disguise it, they have put in full text in the link
I tried to modify what you did but nothing I did seemed to work.
This is the closest to what you did I thought: I thought that
this set of characters would find any text: [^”]* So i added it
where the strings were for color and link text, but it did not find
these type of strings:
<a style="text-decoration:none[^”]*" href=“[^”]*”>[^”]*<\/a>
Can you tell me what I did wrong? And are spaces ignored in the string?
___________________________________________
RICK GORDON
EMERALD VALLEY GRAPHICS AND CONSULTING
___________________________________________
WWW: http://www.shelterpub.com
--
This is the BBEdit Talk public discussion group. If you have a feature request or need
technical support, please email "[email protected]" rather than posting here.
Follow @bbedit on Twitter: <https://twitter.com/bbedit>
---
You received this message because you are subscribed to the Google Groups "BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/bbedit/5E33569A.1000703%40rickgordon.com.