G
Guest
any problem of the regex? the code as below is not working ! if just one
keyword,such as "Microsoft.*", it 's work well , anybody can help me ,Thanks!
using System.Text.RegularExpressions;
Regex r = new Regex("[Microsoft.*][KingSoft.*][Symantec.*][Oracle.*]");
if (r.IsMatch(strCoName))
{
Console.WriteLine("You are using Standard software");
}
else
{
Console.WriteLine("Hello,We are watching you! please do not enjoy games
in work time! ");
}
keyword,such as "Microsoft.*", it 's work well , anybody can help me ,Thanks!
using System.Text.RegularExpressions;
Regex r = new Regex("[Microsoft.*][KingSoft.*][Symantec.*][Oracle.*]");
if (r.IsMatch(strCoName))
{
Console.WriteLine("You are using Standard software");
}
else
{
Console.WriteLine("Hello,We are watching you! please do not enjoy games
in work time! ");
}