Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Regex fórum 01
//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) { string inp=@"""A""|""B""C""|""D""|""E"""; string patt=@"\w""\w"; Console.WriteLine(inp); Match m=Regex.Match(inp,patt); while(m.Success){ Console.WriteLine("{0} --- {1}",m.Value,m.Index); m=m.NextMatch(); } } } }
run
|
edit
|
history
|
help
0
abcd
0/1 Knapsack problem using Iterative Approach
VBA
er
myPractice
Passing Multidimensional Arrays As Arguments
Reflection custom test
Jai
xpath select element code
aba