var str = "Laurentian";
$(function(){
$('td:contains('+str+')').each(function(){
var regex = new RegExp(str, "g");
//$(this).html( $(this).html().replace( regex ,""+str+""));
// $(this).parent().addClass("hlt");
});
$('#sid').hide();
$('form ul').hide();
});
.middle {
width:630px !important;
}
.hlt {
background:#F6FF00;
}
.statsTble th,
.statsTble td,
.statsTble {margin: 0; padding: 0; border-collapse: collapse; border: 0; border-spacing: 0}
.statsTble {table-layout: auto; width: /*942px*/ 100%}
.statsTble thead {background: rgb(200,200,200)}
.statsTble tbody tr.thead {background: rgb(230,230,230) !important}
.statsTble th {padding: 3px;text-align: left}
.statsTble td {padding: 5px 3px}
.statsTble td.last {text-align: right !important; padding-right: 8px}
.statsTble td:last-child {text-align: right !important; padding-right: 8px}
.statsTble td:first-child {padding-left: 8px}
.statsTble a {text-decoration: none; color: dodgerBlue; font-weight: bold}
.statsTble a:hover {text-decoration: underline}
.statsTble tbody tr.odd {background: rgb(236,250,255) !important}
.statsTble tbody tr:nth-child(odd) {background: rgb(236,250,255)}
.statsTble td.tfour,
.statsTble td.tone {width: 75px}
.statsTble td.ttwo {width: 200px}
.statsTble td.tthree {width: 250px}
.statsTble td.tthree {width: 250px}
.statsTble td.tfive {width: auto}
.statsTble tbody tr:hover {background: rgb(60,114,142) !important}
.statsTble tbody tr:hover a {color: lightBlue !important}
.statsTble tbody tr:hover td {color: white !important}
<?php
$domain = "http://cufla.ca/player_roster.php?team_id=13282&league_id=942&schedule_id=152668";
$ch = curl_init($domain);
curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);
$response = curl_exec($ch);
$start = strpos($response,'');
$end = strpos($response,"");
$endPos = $end - $start;
$res =substr($response, $start,$endPos); // returns "ef"
echo $res;
//http://oua.commer.com/?t=statistics.tpl&sportName=soccer&genderId=1&sid=311
?>
<?php
/*$domain = "http://oua.commer.com/index.php?t=standings.tpl&genderId=1&sportName=basketball&sid=306";
$ch = curl_init($domain);
curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);
$response = curl_exec($ch);
preg_match('|Laurentian<\/td>(.*?)<\/td>(.*?)<\/td>(.*?)<\/td>(.*?)<\/td>(.*?)<\/td>(.*?)<\/td>(.*?)<\/td><\/tr>|msu',$response,$matches);
//echo "";
//print_r($matches);
//echo "";
echo "
Team
GW
W
L
T
GF
GA
PTS
Laurentian";
for($i=1;$i < count($matches);$i++){
echo "$matches[$i]";
}
echo "";
*/
?>