using System;
using System.Linq;
using System.Text.RegularExpressions;
//using Newtonsoft.Json.Linq;
//using Microsoft.IdentityModel.Tokens;
public class Program
{
public static void Main()
/*Console.WriteLine("Hello World");
JObject jObj = JObject.Parse(@"{'TEXT':'Value', 'anotherText':{'YetAnotherText':'Yet'}}");
string name = "teXt";
var containsProperty = jObj.Properties().Any(t => t.Name.Equals(name, StringComparison.InvariantCultureIgnoreCase));
var nameInPayload = string.Empty;
if(containsProperty)
nameInPayload = jObj.Properties().First(t => t.Name.Equals(name, StringComparison.InvariantCultureIgnoreCase)).Name;
Console.WriteLine(containsProperty);
Console.WriteLine(nameInPayload);*/
//var token = "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiYWRtaW4iOnRydWUsImp0aSI6IjM0ZTQ2ZGU0LTY0ZDktNGNiOC04ZjMwLTYwOTY4YTgwODhkMiIsImlhdCI6MTUzOTYwMzE2NywiZXhwIjoxNTM5NjA2NzY3fQ.OBiixszcdpMTTFfGv0w0qKL0I0udjl2RHhFk8Z-jLy4";
//var tokenParts = token.Split('.');
//var decodedString = Base64UrlEncoder.Decode(tokenParts[1]);
//Console.WriteLine(decodedString);
//Console.WriteLine(tokenParts.Count());
var regExPattern = @"[<>:""\/\\|?*]";
var replacedString = new Regex(regExPattern).Replace(@"<Hello, ""\/how *are you?>","");
Console.WriteLine(replacedString);
}