Tested regular expressions you can open in the tester, read the explanation of and adapt. Each pattern comes with sample text and unit tests. Save your own pattern with Save & share and tick “publish” to add it here.
5 patterns
(?:\+66[ -]?|0)([689]\d)[ -]?(\d{3})[ -]?(\d{4})\b
Mobile numbers 06x, 08x, 09x with optional dashes or spaces, or the +66 international form.
(?:฿\s?)?\d{1,3}(?:,\d{3})*(?:\.\d{2})?\s?(?:บาท|THB)|฿\s?\d{1,3}(?:,\d{3})*(?:\.\d{2})?
Numbers followed by บาท, ฿ or THB, with optional thousands separators and satang.
[\p{Script=Thai}]+
Runs of Thai characters (needs the u flag) – useful to separate Thai from English in mixed text.
\b(?:[1-8]\d|9[0-6])\d{3}\b
Five-digit postal codes from 10000 to 96xxx.
\b\d(?:-?\d{4})(?:-?\d{5})(?:-?\d{2})-?\d\b
13 digits, plain or written as 1-2345-67890-12-3. Check the last digit (checksum) in code.