function replace(string)
{
   var pattern=/\'/g;
   var newstring = string.replace(pattern, "");
   return newstring;
}
