Im using validates_format_of method to check a input text Javascript cant read this regex. How or where I can change this regex to be as original:
(?<=^|,|\b)[1-7](?=$|,|\b)
Thanks
UPDATE: the input text must be one o more digits separated by comma, ex: 1|1,2|1,2,3