Another option is the BBEdit reference "Searching with Grep", which I bookmarked and view in a web browser because the Apple Help viewer has a terrible UI.
--
This is the BBEdit Talk public discussion group. If you have a
feature request or need technical support, please email
"sup...@barebones.com" rather than posting to the group.
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 bbedit+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bbedit/e4942cb5-422f-4be9-8f4c-28523f55d038%40googlegroups.com.
On 23 Dec 2019, at 11:44, Charles Nichols wrote:
Is it possible to find and delete every instance of
<a href="../programs/20141201-IlPreteDISIS.pdf" target="_blank"
class="internal">Program (PDF)</a>
in a file, using wildcards instead of "20141201-IlPreteDISIS", which is a
name of a PDF, that will be different for each instance, but always in the
pattern "Date-Name"?
Yes, using this Grep pattern:
<a href="\.\./programs/\s+-\w+\.pdf" target="_blank" class="internal">Program \(PDF\)</a>
Assumptions:
\d+
).\w+
).Hope this helps.
-sam
To view this discussion on the web visit https://groups.google.com/d/msgid/bbedit/CAK3epCE6sHiRGa_E6b5vF%3D_R6OfoHuTkdm-DLVp-m4zFxc-hbA%40mail.gmail.com.