Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Simple Regex Example
//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) { Regex regex = new Regex(@"(localhost|direct|cpc|google)"); Match match = regex.Match("direct"); if (match.Success) { Console.WriteLine(match.Value); } else { Console.WriteLine("Is no x"); } } } }
run
|
edit
|
history
|
help
0
LINQ Collections
function in event
[REDACTED] database V0.1.6
hello...
C# URI parts url
1
BankAccount
2
Informashin prsonely
test