@ -36,7 +36,7 @@ frappe.ui.form.on('Procedure', {
},
validate: function (frm) {
// var regex = /[@#$%^*\\[\]{}`~\\|\?]/;
var regex = /[@#$%^\\[\]{}`~\\|\?]/;
var regex = /[@#$%^\\[\]{}`\\|\?]/;
if (frm.doc.procedure_details) {
for (var i = 0; i < frm.doc.procedure_details.length; i++) {
if (regex.test(frm.doc.procedure_details[i].content) === true) {