<p>I need to cut out and save/use part of a string in C#. I figure the best way to do this is by using Regex. My string looks like this:</p>

<p><code>"changed from 1 to 10"</code>. </p>

<p>I need a way to cut out the two numbers and use them elsewhere. What's a good way to do this?</p>

In your regex put the fields you want to record in parentheses, and then use the
```
Match.Captures
```
property to extract the matched fields.
There's a C# example
here
.