C# Regex ignoring non-capturing group
Posted ALWAYS CHALLENGE MIRACLES
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了C# Regex ignoring non-capturing group相关的知识,希望对你有一定的参考价值。
E.g I want match the keword "3398" after "red" from the string "This is red with number 3398".
Using non-capturing group regex will help me sovle this problem.
(?<=red.*?)\d+
Ref: http://stackoverflow.com/questions/30667041/regex-replace-ignoring-non-capturing-group
以上是关于C# Regex ignoring non-capturing group的主要内容,如果未能解决你的问题,请参考以下文章