[英]Find a text substring between two strings (RegExp)
There is a string of text有一串文字
asd2qw d2er234 568678234111 asd2qw d2er234 568678234111
How to apply d2*234
through RegExp to get “d2er234”
and not “d2qwd2er234”
?如何通过 RegExp 应用d2*234
来获得“d2er234”
而不是“d2qwd2er234”
?
This d2.+?234
produces d2qwd2er234
这个d2.+?234
产生d2qwd2er234
How to limit the last occurrence of d2?如何限制 d2 的最后一次出现? Something like (d2)(not(d2)).+?234
类似(d2)(not(d2)).+?234
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.