Hi Pu Koh, You could use BBEdit's Text > Canonize ... command. Check "Canonize Using Grep Patterns" in the manual page 140.
With this sample transformation file (Note that find and replace expressions are separated by a tab): # -*- x-bbedit-canon-case-sensitive: 1; x-bbedit-canon-match-words: 0; x-bbedit-canon-grep: 1; -*- (foo) f0zz\1 (bar|baz) buzz 0 i This text: foobar foobaz Is canonized to: fizzfoobuzz fizzfoobuzz HTH, Jean Jourdain On Friday, November 5, 2021 at 3:12:12 PM UTC+1 Bruce Van Allen wrote: > Pu Koh wrote on 2021-11-05 4:00 AM: > > Is there a function to run multiple find and replace patterns instead of > > doing it one at a time? > > > > Look into BBEdit's Text Factories. > > For more advice from this group, post an example of what you want to do, > with before and after samples. > > > -- > - 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 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/b79c2041-b114-4efb-8cdd-95eb711a2b17n%40googlegroups.com.
