the regex im using for matches is this
([a-zA-Z.,ñÑáÁéÉíÍóÓúÚüÜ\s-]+)
and also
([a-zA-Z.,1áÁéÉíÍóÓúÚüÜ\s-\u00f1\u00d1]+)
where \u00f1\u00d1 is replacing in code Ñ
but it doesn’t work.
How can i get it if a name is like this “BAÑON” or “ALAÑON”
the regex im using for matches is this
([a-zA-Z.,ñÑáÁéÉíÍóÓúÚüÜ\s-]+)
and also
([a-zA-Z.,1áÁéÉíÍóÓúÚüÜ\s-\u00f1\u00d1]+)
where \u00f1\u00d1 is replacing in code Ñ
but it doesn’t work.
How can i get it if a name is like this “BAÑON” or “ALAÑON”
try the below expression
System.Text.RegularExpressions.Regex.Match("BAÑON","([a-zA-Z.,ñÑáÁéÉíÍóÓúÚüÜ\s-]+)")
okay this is not the first time that happends to me…
it was the encoding in read text file. i wasnt getting the letter because of encoding. i use “iso-8859-1” in properties
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.