Il giorno giovedì 21 maggio 2020 16:18:44 UTC+2, [email protected] ha scritto: > > Something like this should do the trick. The expression in the first set > parentheses finds the paragraphs you are targeting. The start of a line ^ > followed by your target text and everything up to the next new-line \n. The > expression in the second set of parentheses finds the following paragraph. > The replacement pattern inserts the new text you need between them so it > prefixes the second paragraph. > > Search: (^Art\..*?\n+)(.*?$) > Replace: \1_A\2 >
Thanks, but won't work be me. Instead this does the job and something more (it's not from my skill, but I'm trying to understand it): Search: ¶([ASCT])([^ ]+ [0-9IVXLC]+)( |\n) Replace: ¶\1\2\n¶\1_ -- 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/9bf85165-398e-44c0-a3eb-56394575b01a%40googlegroups.com.
