Community Patterns

Community Library Entry

12

Regular Expression
Created·2014-09-29 13:31
Flavor·ECMAScript (JavaScript)

/
^[a-zA-ZçÇığĞİöÖşŞüÜ]+(?:\s[a-zA-ZçÇığĞİöÖşŞüÜ]+)+$
/
Open regex in editor

Description

Matches case insensitive first name, optional unlimited number of middle names and last name separated with space format. Replaced \w with explicit char range for Turkish support. (Äž accepted as first char not to over complex)

Submitted by CKK