Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Blog
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
Please
log in
to post a comment.
4/03/2017
4x4 ver 3
Insertion Sort
Learning linq 1
Plt-D v.0.8
7.1. Asynchrony: the new approach
Math 10.95 fracOp (mult div only)
gen retuen obj
FromBibleC#(OOP)
removeDuplicate C#
stackse - search stackoverflow differently
Please log in to post a comment.