public static String unescapePipe(String text){
  return text.replaceAll("&#124;","|");
}

public static String unescapePipe ( String text ) { return text . replaceAll ( "&#124;" , "|" ) ; }
returns unescaped text . this method replaces " & # 124 ; " with " | " .
