Hello! I need Matches for this:
e;fmewf;
wemfpew
NO 1319S93 ( maybe only numbers or numbers with letters)
ekfnqed
I need take only: 1319S93
I write: N[O|0|o|О|о]+ ([^ ]+)?$
but it not always correct
Hello! I need Matches for this:
e;fmewf;
wemfpew
NO 1319S93 ( maybe only numbers or numbers with letters)
ekfnqed
I need take only: 1319S93
I write: N[O|0|o|О|о]+ ([^ ]+)?$
but it not always correct
It will start after No and starting would be digit ?
^N[oO]\s(\w+)$
How to do fo this?
sfefqefqef 139-P1232
I need: 139-P1232 (maybe different number on begin, but always three. After “-” first - letter, but after that maybe numbers and letters
Examples:
000-G1684
(\d{3}\s-[a-zA-Z]\w+)
Sorry. Typo
(\d{3}-[a-zA-Z]\w+)
If I need only T9327 from this?
Then use this below regex, @RPA3
System.Text.RegularExpressions.Regex.Matches(InputStr," \d{3}-([a-zA-Z]\w+)")(0).Groups(1).
\d{3}-([a-zA-Z]\w+)