Im trying to parse the following
"Someword, another. SD-FR1 more WORDS"
And i would like to capture the "SD-FR1" part.
I know it consists only of capital letters, numbers or "-".
I also know that it contains at least one capital letter and one number but not in what order. It should work on
"Someword, another. S1R more WORDS" capturing "S1R" aswell.
Anyone know how to do this with .NET RegEx?
I've read and googled but havn't found any examples where you dont know the order of what you're searching for.
Thanx for your time
Fredrik Högberg
"Someword, another. SD-FR1 more WORDS"
And i would like to capture the "SD-FR1" part.
I know it consists only of capital letters, numbers or "-".
I also know that it contains at least one capital letter and one number but not in what order. It should work on
"Someword, another. S1R more WORDS" capturing "S1R" aswell.
Anyone know how to do this with .NET RegEx?
I've read and googled but havn't found any examples where you dont know the order of what you're searching for.
Thanx for your time
Fredrik Högberg