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?
Ive read and googled but havnt found any examples where you dont know the order of what youre searching for.
Thanx for your time
Fredrik H
"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?
Ive read and googled but havnt found any examples where you dont know the order of what youre searching for.
Thanx for your time
Fredrik H