15-01-20 09:58 AM
//Match m = Regex.Match(Target_String,Regex_Pattern, RegexOptions.IgnoreCase);
var m = Regex.Match(Target_String, Regex_Pattern);
try { if (m.Success)
{ Regex_Match = true; }
Regex_Match = false;}
catch (Exception)
{ Regex_Match = false;}
It runs perfectly on Visual Studio but not in BP.Dim R as New Regex(Regex_Pattern, RegexOptions.SingleLine)
Dim M as Match = R.Match(Target_String)
Regex_Match = M IsNot Nothing AndAlso M.Success
15-01-20 11:51 AM
var m = Regex.Match(Target_String, Regex_Pattern);
Regex_Match = m.Success;