S
sherifffruitfly
Hi,
(If anyone's upset enough, I'll go to a different group. But I am
writing this program in c#, so I don't think it's totally off-topic.)
I'm trying to dig numbers out of a text file, and I've got the
following regex:
Conforming\s3/1\sYr\sARMs\s*\d{1,2}.\d\d
This matches perfectly for what I'm after (using Expresso to test). But
what I want is that last bit assigned to a variable - the \d{1,2}.\d\d
part. How do I do that?
Thanks for any enlightenment,
cdj
(If anyone's upset enough, I'll go to a different group. But I am
writing this program in c#, so I don't think it's totally off-topic.)
I'm trying to dig numbers out of a text file, and I've got the
following regex:
Conforming\s3/1\sYr\sARMs\s*\d{1,2}.\d\d
This matches perfectly for what I'm after (using Expresso to test). But
what I want is that last bit assigned to a variable - the \d{1,2}.\d\d
part. How do I do that?
Thanks for any enlightenment,
cdj