Hi i want to use below php regex in spry java script framework but them doesn't work with spry framework and spry doesn't let the user to input!.  

`1)"/^[\d]+$/"`  

`2)"/^([\x{600}-\x{6FF}]+\s)*[\x{600}-\x{6FF}]+$/u"`  

`3)"/^([\x{600}-\x{6FF}]+\d*\s)*[\x{600}-\x{6FF}]+\d*$/u"`  

please help me to convert them to use in spry framework.