@ -35,7 +35,8 @@ 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) {