开发者

Regex for matching words, even though they might be words apart

开发者 https://www.devze.com 2023-01-01 23:25 出处:网络
So for the string: A large chicken, either thighs or breasts I need a regex to match the term \"chicken breast\"

So for the string:

A large chicken, either thighs or breasts

I need a regex to match the term "chicken breast"

So it would be something like /chicken(.*?)b开发者_如何学JAVAreast/ would it not?

Thanks.


Yes. Something like that.

0

精彩评论

暂无评论...
验证码 换一张
取 消