最佳答案
对于正则表达式,搜索直到但不包括的语法是什么? 有点像:
Haystack:
The quick red fox jumped over the lazy brown dog
Expression:
.*?quick -> and then everything until it hits the letter "z" but do not include z