Looking for a way to achieve the following effect.
I have a Zap that converts voicenote transcripts into markdown text. The text it produces currently looks something like this:
## heading
- first dot point
- second dot point
- third dot point
The notes can be varying lengths, and it’s possible there are errors that occasionally creep in and it doesn’t look quite this neat.
I’d like a step to capitalise the first letter on each line (the one immediately following ## or -), so that it looks like this instead:
## Heading
- First dot point
- Second dot point
- Third dot point
I’m assuming I need to use a Code step including regex, but this is starting to stretch my capabilities and can’t find a clear way to do it.
Appreciate any help that can be provided!