using System.Text.RegularExpressions;
public static class Program
public static void Main()
@"parent.flash_ior = 'Y';
parent.lockLiveMEM = 'Y';
parent.Live_mem_type = '';
parent.totaldata=',2992*Handball - Asian Championship (In Saudi Arabia)';
parent.isReTimeSubmited = false;
if(self == top) location='http://172.31.253.31/app/control/';
parent.uid='8fd468a65b60e39';
parent.unset_danger = 'R-L-S';
parent.dt_now = '2022-01-18 05:17:32';
parent.gmt_str = 'E.S.T';
parent.g_re = 'Running Ball';
parent.g_rou = 'R.Over/Under';
parent.g_score = 'Total';
parent.receive = 'Accept';
parent.noreceive = 'Pause';
parent.username= 'ufo18830';
parent.set_danger = 'Danger';
parent.receive_Y = 'Release';
parent.receive_N = 'No Accept';
parent.exeTime='0.005 sec';
parent.detail = 'Detail';
parent.grecord_maxid = '';
parent.followdata = '0*Unfollow,1*188Bet,2*Betsson,4*Bwin,5*Fonbet,6*Jetbull,7*Ladbrokes,8*Marathon,9*Pinnacle Sports,10*Unibet,11*William Hill,12*bet365(st),13*bet365(rb)';
parent.GameFT[0] = Array('634191','01-18<br>05:00a','Hb Asian C<br><b>BD2K 30-30</b>','20208','20207','Singapore ','South Korea ','C','Y','-23.5','22.5','0.800','0.890','8','0','258','0','o57.5','0.890','0.700','7','0','20','0','0','0','Y','0','Start^G','','','','','','','','','','','','','','','','','<b>0</b>','<b>0</b>','0','0','','N','0','0','00:00','','13','1','0','0','0','','','','','2022-01-18 05:00:00','Y','Y','Y','160386684353040384','','4','8','0','0','Y','0.00','0.00','0.00','0','0','0','0','0','0','N','0.00','','','','1.00');
string gameDetailsString = httpResponse.SearchStringByRegex(@"(Array\('634191')(.+)(')",0);
string[] gameArrInfo = gameDetailsString.Split(',');
Console.WriteLine(gameArrInfo[64]);
public static string SearchStringByRegex(this string searchString, string regexExpression, int index)
Regex regex = new Regex(regexExpression);
Match match = regex.Match(searchString.ToString());
Console.WriteLine("match");
string v = match.Groups[index].Value;
Console.WriteLine("no match");