我的目标是括号内的匹配文字(包括它们)。这种模式工作正常:/(\-?\(.*\))/gm
,虽然它不适用于多行。
任何想法如何“抓住”
(INDISTINCT ANNOUNCEMENT
OVER PA)
以下是样本:
365
00:22:20,105 --> 00:22:21,772
(CLAMOURING)
366
00:22:21,774 --> 00:22:25,009
(INDISTINCT ANNOUNCEMENT
OVER PA)
367
00:22:55,340 --> 00:22:58,509
(INDISTINCT ANNOUNCEMENT
OVER PA)
368
00:23:10,655 --> 00:23:11,389
SARAH: Excuse me.
答案 0 :(得分:2)
答案 1 :(得分:0)