Need c# RegEx to find a a word and a number.
I have a need to find  a word and a number in a sentece like this


The state Mchine is at stage 4. next stage is queued.
I need to find only state and number 4. and ignore the rest.

I have this
 @"\b(state)(?:\W+\w+){1,10}?\W+(\d)*\b"
but it is also include=ing all the worlds in between the matches.

what am i doing wrong

thanks
Need c# RegEx to find a a word and a number.
===

I have a need to find  a word and a number in a sentece like this


The state Mchine is at stage 4. next stage is queued.
I need to find only state and number 4. and ignore the rest.

I have this
 @"\b(state)(?:\W+\w+){1,10}?\W+(\d)*\b"
but it is also include=ing all the worlds in between the matches.

what am i doing wrong

thanks