Created
June 9, 2020 22:10
-
-
Save ansidev/afcf0a03874871d05c5e888f14dc7429 to your computer and use it in GitHub Desktop.
Regex to check if the paragraph contains Vietnamese accent
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var regex= /[À|Á|Â|Ã|È|Ê|Ì|Í|Ò|Ó|Ô|Õ|Ù|Ú|Ý|à|á|â|ã|è|é|ê|ì|í|ò|ó|ô|õ|ù|ú|ý|Ă|ă|Đ|đ|Ĩ|ĩ|Ũ|ũ|Ơ|ơ|Ư|ư|Ạ|ạ|Ả|ả|Ấ|ấ|Ầ|ầ|Ẩ|ẩ|Ẫ|ẫ|Ậ|ậ|Ắ|ắ|Ằ|ằ|Ẳ|ẳ|Ẵ|ẵ|Ặ|ặ|Ẹ|ẹ|Ẻ|ẻ|Ẽ|ẽ|Ế|ế|Ề|ề|Ể|ể|Ễ|ễ|Ệ|ệ|Ỉ|ỉ|Ị|ị|Ọ|ọ|Ỏ|ỏ|Ố|ố|Ồ|ồ|Ổ|ổ|Ỗ|ỗ|Ộ|ộ|Ớ|ớ|Ờ|ờ|Ở|ở|Ỡ|ỡ|Ợ|ợ|Ụ|ụ|Ủ|ủ|Ứ|ứ|Ừ|ừ|Ử|ử|Ữ|ữ|Ự|ự|Ỳ|ỳ|Ỵ|ỵ|Ỷ|ỷ|Ỹ|ỹ]/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment