On Saturday, September 18, 2021 at 10:01:50 AM UTC-7 Neil Faiman wrote: > Use this “Find” string: (?s)(?<=\bAAA\b).*?(?=\bBBB\b) >
Neil's solution encouraged me to learn about "Pattern Modifiers", e.g. (?imsx) And I am able to parse the look around aspects of his solution... but isn't it adequate to just use ... Search: (?s)AAA\n.+?BBB Replace: AAA\nBBB -- 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/44f3dff4-751b-4ad0-9aec-a711b77af98en%40googlegroups.com.
