Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
RegEx
//Rextester.Program.Main is the entry point for your code. Don't change it. //Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5 using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Main(string[] args) { var list = "Yellow{0:16}"; //if (!Regex.IsMatch(list, @"^*{(\d+(:\d+)*)}")) //{ // Console.WriteLine("Error"); // return; //} //Console.WriteLine(Regex.Match("Yellow{0:2}", @"\{([^}]*)\}").Groups[1].Value); } } }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Game v 1.0
Kopi Ping Menu
iLoveLizzy
regex
Basic
Task 2
Subdomain regex
Fibonacci series
jjj3
Pending Finalizer
Please log in to post a comment.