← Galleryตรวจสอบวรรณยุกต์และสระในภาษาไทย/[เแโไใ]{2,}|[ิีึืูุั็]{2,}|[่้๊๋]{2,}|[์]{2,}|[่้๊๋][ิีึืุูั็]|(?<![ก-ฮ][่้๊๋]?)[ิีึืุูำ็ั]|[เแโไใ][ิีึืุูั็าะำ]|(?<![ก-ฮ][ิุ]?)(?:์)|(?:ั)(?![่้๊๋]?[ก-ฮ](?![ะาิีึืุูำั็่้๊๋์อ]|ว[ก-ฮ]))|(?:ื)(?![่้๊๋]?[ก-ฮ](?![ะาิีึืุูำั็่้๊๋์]))|แ[ก-ฮ]็(?)|(?<![ก-ฮ][ิีืึุูั]?)[่้๊๋]|[เแไโใ](?![ก-ฮ])|(?:[ไใ][ก-ฮ][่้๊๋]?[ะาิีึืำั็์]|[โ][ก-ฮ][่้๊๋]?[าิีึืำั็์]|แ[ก-ฮ][่้๊๋]?[าิีืึุูำั์]|เ[ก-ฮ][่้๊๋]?[ึุูำั์])|(?<!เ[ก-ฮ]{1,2}[่้๊๋]?[าอ]|[โเแ]?[ก-ฮ]{1,2}[่้๊๋]?)ะ|(?<!เ?[ก-ฮ]{1,2}[่้๊๋]?)า|เ(?![ก-ฮ][่้๊๋]?อ?)|เ[ก-ฮ](?:ี(?![่้๊๋]?ย)|ื(?![่้๊๋]?อ))|(?:[แเโไใ][ก-ฮ]|[ก-ฮ][ิีึืุูาะ])(?:ำ)|(?:ำ)[่้๊๋]|(?<![เแไใโ][ก-ฮ]?)[ก-ฮ](?![ิีึืุู])[่้๊๋](?!(?:[ะำา]|[ว][ก-ฮ]|อ?[ก-ฦศ-ฮ](?![ะาิีึืุูำั็่้๊๋])))/gmJavaScript+19 months ago✓ Pre-loaded
About this regex
Matches invalid or improperly ordered Thai vowels and tone marks, such as repeated leading vowels, stacked tone marks, vowels without a preceding consonant, tone marks placed before vowels, and malformed vowel-consonant combinations. Ideal for Thai spell-checking, text input validation, and detecting typographical errors where Thai orthographic rules for combining diacritics are violated.