Contact: aviboots(AT)netvision.net.il
42,225 questions
54,937 answers
573 users
using System; using System.Text.RegularExpressions; class Program { static void Main() { Regex pattern = new Regex("\\$"); string s = "It's only $10.00 today"; bool match = pattern.IsMatch(s); Console.WriteLine(match); } } /* run: True */