Regular Expressions: Match the base letter of a unicode string
Posted on 2009-03-30
Is it possible to match the base letter of a unicode string? If so, how do I do it? So, for example, I have the word "hen" that I am looking for. In my text file, I could have "hen" (which will match) and I could have "heñ" (which currently does not match). I would like my regular expression or method thereof to be able to match both words.
So, Is there a regex tactic of which I am not aware that will match the base letter "n" when it comes across the unicode character ñ (and so on for every base letter)?
Thanks for shedding the light.