Here I have created sample that will help you.
What we currently have in our regex is a standard Arabic symbols range. For additional characters you need to add them to the regex separately.Here are their codes:
ژ \uFB8A
پ \u067E
چ \u0686
گ \u06AF
HTML
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script type="text/javascript">
$(function () {
$('#txtName').keypress(function (e) {
var myregex = new RegExp("^[\u0600-\u06FF\uFB8A\u067E\u0686\u06AF]+$");
if (myregex.test(e.key)) {
return true;
}
e.preventDefault();
return false;
});
});
</script>
</head>
<body>
<div>
<input name="txtName" type="text" id="txtName" />
</div>
</body>
</html>
Demo