Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
\/\*(.+?)\*\/
/
Input 1
1
New
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using TMPro; using System.Text.RegularExpressions; using System; public interface IThemeable { } public class TestScript : MonoBehaviour { #region Studio Style class Program : IThemeable { static int _I = 1; delegate void DoSomething(); static DoSomething DelegateMethod = delegate { }; /* This is a multi line quote */ /*single line quote*/ /* single line quote */ /// <summary> /// The quick brown fox jumps over the lazy dog /// THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG /// </summary> static void Main(string[] args) { string normalStr = "The time now is approximately " + DateTime.Now; Uri Illegal1Uri = new Uri("http://packmyboxwith/jugs.html?q=five-dozen&t=liquor"); Regex OperatorRegex = new Regex(@"\S#$", RegexOptions.IgnorePatternWhitespace); for (int O = 0; O < 123456789; O++) { _I += (O % 3) * ((O / 1) ^ 2) - 5; if (!OperatorRegex.IsMatch(Illegal1Uri.ToString())) { // no idea what this does!? Console.WriteLine(Illegal1Uri + normalStr); } } Program.DelegateMethod(); } static int Sum(int a, int b) { return a + b; } } #endregion }