.NET is complaining about the +
after the {n}
style quantifier as it doesn’t make any sense. {n}
means match exactly n of a given group. +
means match one or more of a given group. Remove the +
‘s and it’ll compile fine.
"_ [ 0-9]{10} {1}[ 0-9]{10} {2}[ 0-9]{6} {2}[ 0-9]{2}"