There are two circumstances. Host is the last speaker or Presenter speaks after Host. How to use regular expressions to tease out host's words? Here is the example:
I want to tease out "Host 00:00 please begin" and "Host 01:00 that’s Ok. Your part is ending." Thanks a ton!
deletes "Presenter", which I don't want
I want to tease out "Host 00:00 please begin" and "Host 01:00 that’s Ok. Your part is ending." Thanks a ton!
Code:
replace prstText = ustrregexra(prstText, "Host\s\d{2}:\d{2}.*Presenter", "")
Code:
* Example generated by -dataex-. For more info, type help dataex clear input strL prstText "Host 00:00 please begin Presenter1 02:03 Ok I will" "Host 01:00 that’s Ok. Your part is ending." end

Comment