Created
February 1, 2016 14:59
-
-
Save MikaelSoderstrom/fcb7f807fa0fc8af44e6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Text.RegularExpressions; | |
namespace ConsoleApplication6 | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
string test = "ABC123D"; | |
var regex = new Regex("[A-Z]*(.*)"); | |
var result = regex.Matches(test); | |
Console.WriteLine(result[0].Groups[1]); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Skriver ut:
123D