Thank you Bruce, I used to know this but, at 74, sometimes I need a reminder.
On Sunday, December 8, 2019 at 5:30:05 PM UTC, Bruce Van Allen wrote: > > On 12/8/19 at 4:52 AM, [email protected] <javascript:> (jgill) wrote: > > >I need to clean up some OCR documents to find characters that > >are NOT [A-Z|a-z|0-9|:] > > > >What is the BBEdit GREP syntax for an invered search (-v) ? > > [^A-Za-z0-9:] > > The above character class includes the characters you want, and > the '^' at the start negates them. So the above will match ONE > character that is not any of an upper or lower case a to z or a > colon. You could search on that and replace with nothing. > > This is standard PCRE (Perl Compatible Regular Expression) > syntax, not unique to BBEdit. > > HTH > > -- > > - Bruce > > _bruce__van_allen__santa_cruz__ca_ > > -- 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 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/bbedit/9402d3de-07d5-4579-9f1e-55259d80258e%40googlegroups.com.
