The stupid question is the question not asked | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Hi guys, Had this issue which is somewhat foxing me... there are two stages to this issue. Stage 1) I will take a input for a name from a user, I wish to apply a regex to validate that the name is what I would consider a name, so all chars A-Za-z, a space, a . etc... however I also need to accept accented characters like åäöüíìóòúùñÑéèáàêëûãç_öüæøÅÄÖÉØÁÜÆØâîÂÎ... I even tried this in the regex but sometimes it fails... I think this is something to do with how the file is saved... my test scripts dont work properly... so is there a better way of doing this ? Stage 2) I need to replace the accented chars with non accented equivalent (as the mainframe they eventually end up in do not accept them. I have used several regex's like
Any tips in solving this greatly appreciated. In reply to Matching Accented Names by ropey
|
|