B
Ben Fidge
Hi
I'm trying (and failing) to create and regular expression for parsing
peoples names. I simply want to make sure that a firstname and surname, at
least, can be extracted.
For example, "Ben Fidge" would pass, however, "Ben", "Fidge", "Ben-Fidge"
and BenFidge" wouldn't.
I want to use a RegularExpressionValidator on an ASP.NET page to ensure that
people provide first and surnames in a single text box. Unfortunately, I
can't provide two text boxes for legacy reasons.
TIA
Ben
I'm trying (and failing) to create and regular expression for parsing
peoples names. I simply want to make sure that a firstname and surname, at
least, can be extracted.
For example, "Ben Fidge" would pass, however, "Ben", "Fidge", "Ben-Fidge"
and BenFidge" wouldn't.
I want to use a RegularExpressionValidator on an ASP.NET page to ensure that
people provide first and surnames in a single text box. Unfortunately, I
can't provide two text boxes for legacy reasons.
TIA
Ben