之间的所有文本匹配这是我的文字正则表达式 - 如何给定词
FUNCTION 1
Some text
FUNCTION 2
Some text
FUNCTION 3
Some text
我想下面的比赛
1场
FUNCTION 1
Some text
2场
FUNCTION 2
Some text
第3场比赛
FUNCTION 3
Some text
,我拿出这么远的模式是
FUNCTION[\s\S]*FUNCTION
'FUNCTION [\ s \ S] *?(?= \ nFUNCTION)' –
哪种编程语言? – Jan