A simple specification would have been more helpful, but how I see, you want to format a date.
You can use this JQuery plugin:
http://archive.plugins.jquery.com/project/jquery-dateFormat[
^]
function ConvertDate(dateString) {
if (dateString && $.trim(dateString) != "") {
return $.format.date(dateString.replace(/\/Date\((\d+)\)\//, '$1'), "MM/dd/yyyy");
} else {
return false;
}
}