On Fri, Apr 17, 2020 at 03:49:47PM +1200, Steve Edmonds composed:
If there are multiple line breaks between your sections you can get what you want in 3 passes. Replace $$ with *-* say (assuming *-* isn't in your text). Replace $ with "" globally. Replace *-* with \n There is bound to be a more elegant solution.
In my case a slight variation of the above works: Replace ^$ with *-* Replace $ with space Replace \*-\* (asterisks escaped) with \n I'm getting the idea, thanks everyone. -- Jason -- To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/ Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette List archive: https://listarchives.libreoffice.org/global/users/ Privacy Policy: https://www.documentfoundation.org/privacy