Skip to content

Instantly share code, notes, and snippets.

@yobotn
yobotn / regex-Hebrew.js
Created January 19, 2022 16:33 — forked from YaronMiro/regex-Hebrew.js
JS regex Hebrew characters (Allowed also space (' ') and dash ('-') )
const onlyHebrewPattern = new RegExp(/^[\u0590-\u05FF ,.'-]+$/i);
const isValid = onlyHebrewPattern.test(value);