Thanks, the TBX helps a lot!
OK, you’re using ‘first sentence’ except your titles (to be) have no sentence as such - i.e. no terminating punctuation. Use ‘first paragraph’ and all this goes away. If I look at your original screen grab your markers they are single unpunctuated titles, i.e a single ‘paragraph’ of text.
The Explode set-up didn’t survive in the test do but I’d note your custom explode delimiter is two hashes and a space ‘
## ’. If you omit the space, your titles retain the space for the original text at the start of the exploded title. currently, that isn’t auto-trimmed. Regex are very precise in that manner
@eastgate, some old issues seem to have crept back in that titles aren’t being extracted correctly. I recall this was an issue but then got fixed (until now!). I amended the test note $Text to;
## Teste 1. More stuff.
## Teste 2. This stuff.
## Teste 3. That stuff.
Exploding on a removed delimiter of ‘
## ’ and selecting ‘First sentence’ as the title, and removing titles from text, I get correct titles , e.g. ‘Teste 1.’, ‘Teste 2’, etc. but the $Text in each case is missing the first character. So the $Text of exploded note ‘Teste 1.’ is:
but it should be:
Odd, but I guess it possibly connected with the ‘sentence’ detection algo.