I've been searching, and trying to figure out how to write a regular expression to solve my problem. So far I've come up short. This is what I'm trying to do. Find the part of a string that contains "Offset: " and extract the number after it. My issue is that the number can be from 1 to 10,000,000. Its the comma's that have me stumped. Any help is welcome. This is a sample of what it might look like. It's for c# just in case, as I read there can be different flavors of regex. Here is a sample of text.
"22:22:33.4643071","taskhostw.exe","4504","WriteFile","C:\Users\M O Shea\AppData\Local\Microsoft\Windows\WebCache\V01.log","SUCCESS","Offset: 286,720, Length: 4,096, I/O Flags: Write Through, Priority: Normal"
abdc Offset: 1 some more text
abdc Offset: 10 some more text
abdc Offset: 100 some more text
abdc Offset: 1,000 some more text
abdc Offset: 10,000 some more text
abdc Offset: 100,000 some more text
abdc Offset: 1,000,000 some more text