Regular Expressions
T.R. check the 11-digit format of the ID number with regex, the last two check digits with the algorithm; Know the limits of verification and KVKK requirements.
Check the 26-character format of Türkiye IBAN value with regex; Further apply the MOD 97 algorithm to verify the actual check digits.
Normalize +90, 0, and space phone entries first; Verify the format of the Türkiye mobile number with a flexible and easy-to-maintain regex.
Regex examples for validating date strings such as dd.MM.yyyy HH:mm:ss and yyyy-MM-dd HH:mm in forms and text input.
A password validation regex for forms that require uppercase, lowercase, digit and special character rules.
A regular expression for checking the shape of an e-mail address in website forms, plus notes on what validation can and cannot prove.
A concise regex example for removing repeated blank lines from text files, form input or copied content.