In a plain text file, how can I replace or insert a string at the starting of a paragraph, knowing a substring in the previous paragraph?! I try to explain with an example. I have hundreds of paragraphs that start with the substring "¶Art. " and continues with different text. I need to insert a new substring "¶_A" at the head of all paragraphs that follows the above, but only at the first (there are undefined number of paragraphs after each "¶Art. " starting paragraph. I say insert or replace, because I guess I can replace newline char with newline + "¶_A".
-- This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email "supp...@barebones.com" 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 bbedit+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/bbedit/522a82e0-4224-415f-803d-dd9862d7d0f0%40googlegroups.com.