string directly before with regular expressions?
Posted
by acidzombie24
on Stack Overflow
See other posts from Stack Overflow
or by acidzombie24
Published on 2010-03-22T13:49:53Z
Indexed on
2010/03/22
13:51 UTC
Read the original article
Hit count: 301
I have been given a file that has its string like this
blah blah DUMMY blah blah DUMMY blah blah VALUE blahX blahY KEY
Some values/keys are optional, i cannot depend on order. With regular expressions using C# how do i write an regex that takes the value directly behind the key? I know i could write it in such a way it will match the first DUMMY but i cant think of how to make the VALUE instead.
© Stack Overflow or respective owner