Skip to content

Instantly share code, notes, and snippets.

@jonathanstowe
Created January 5, 2022 11:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jonathanstowe/526ff53ebceb90a822696e7bfe3d79e8 to your computer and use it in GitHub Desktop.
Save jonathanstowe/526ff53ebceb90a822696e7bfe3d79e8 to your computer and use it in GitHub Desktop.
using System;
using System.Text.RegularExpressions;
public class Example
{
public static void Main()
{
string pattern = "^\\d+$";
string numbers = "௫๓௫๓";
foreach (Match match in Regex.Matches(numbers, pattern))
Console.WriteLine("{0}", match.Value);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment