【发布时间】:2015-06-03 21:32:51
【问题描述】:
因此,[A-Z] 之类的内容将匹配大写字母。如何匹配完全大写的行(或具有空格/类似空格的实体)?因此,在下面的示例中,我想根除第一行并保留其余所有...
EVIL WIZARD
Ye insolent peasant swine!
By the demonic creatures
Resident in my ancient beard
Ye shall know true misery
Before this day is done!
[EVIL WIZARD laughs maniacally as hordes of rodents eat everything in sight]
鉴于我的剧本写作技巧,删除所有文本的正则表达式可能更合适,但是嘿...
【问题讨论】: