Build, test, and debug regular expressions
This regex validates names that may contain both English (A-Z, a-z) and Thai characters (Unicode range U+0E01 to U+0E5B). It allows an optional period (.) and an optional single space between two name parts, ensuring the name has at least two characters with no leading/trailing spaces. It is commonly used for form validation in Thai applications to accept a first and last name written in either script.