我需要匹配字符串中最后出现的大写单词和另一个单词之间的所有字符。输入文字:,一只聪明的狐狸,在夜里跳过了大洞2的墙。。(?<=\b[A-Z]+\s)(.+?)(?=\sin)上面的正则表达式给出了fox JUMPED OVER the big and (Hole 2) wall
预期输出: the big and (Hole 2)
我试图找出字符串中两个特定单词之间的时间域。下面是我输入的几个例子The Big Cat eats at 3:49 AM and the Big Dog eats Daily (BBB) , On 12 at 5:00 AM doneThe Big Cat eats at 3:49 AM and the Big Dog eats Daily (BBB) , On 12 at 11:00 PM done5:00 AM
11:00