import regex c#

C#
using System;
using System.Text.RegularExpressions;
Source

Also in C#: