function wrongSymbolReplace (string) { //функция замены обозначения спец символов на сами символы
//      &#33; @ &quot; № # $ &#37; ^ & * ( ) - _ + = | \ } { ] [ &#58; ; &quot; ' ? / &gt; &lt; . , ; &#58; ?
  wrohgSimvol1=new RegExp(/&#33;/g);
  wrohgSimvol2=new RegExp(/&quot;/g);
  wrohgSimvol3=new RegExp(/&#37;/g);
  wrohgSimvol4=new RegExp(/&#58;/g);
  wrohgSimvol5=new RegExp(/&gt;/g);
  wrohgSimvol6=new RegExp(/&lt;/g);
  string=string.replace(wrohgSimvol1, '!');
  string=string.replace(wrohgSimvol2, '"');
  string=string.replace(wrohgSimvol3, '%');
  string=string.replace(wrohgSimvol4, ':');
  string=string.replace(wrohgSimvol5, '>');
  string=string.replace(wrohgSimvol6, '<');
  return string;
}
