/* regexpssion prevention not validation oliviaedgeworth */
/* 'nottext':/[^A-Za-z0-9\./,\? ]/g,   these are acceptable*/
var r={
  'nottext':/[^A-Za-z0-9\./,\? ]/g,
  'notquotes':/['\''&'\"']/g,
  'notnumbers':/[^\d]/g
}

function valid(o,w){
  o.value = o.value.replace(r[w],'');
}
