Hi all,
I am trying to evaluate each line of transcribed text and perform one of two actions. I've tried to modify several examples and have tested simpler versions of what I am trying to accomplish, but I am encountering two different types of failures.
Here is a sample text I am starting with.
SpeakerBob 1:43
These are some transcribed words from SpeakerBob.
SpeakerJim 10:39
These are more transcribed words from SpeakerJim. These words could wrap to multiple lines.
Here is the text I need to end with.
SpeakerBob 1:43
- These are some transcribed words from SpeakerBob.
SpeakerJim 10:39
- These are more transcribed words from SpeakerJim. These words could wrap to multiple lines.
(Please note - the bullets above should be dashes)
What I've Tried
I am starting with a For Each Local_Line action, with an If Any Action contained therein. In the If Any
Action I am trying to use the logic:
- If a line ends with regex matching :[0-5][0-9], then do nothing...
- Otherwise, prepend a tab and a dash
My Questions:
- Is it possible to use regex to match in this way? Is there perhaps another approach that makes more sense?
- I tried to just use the logic "If the Local_Line contains a
:
" and, instead of ALL of the lines being available in System_Clipboard, the only lines that would be included were those that DID match the logic.
Thanks all in advance for any guidance you can provide. It's greatly appreciated.
- Brian