Accented character regex

Posted by user314573 on Stack Overflow See other posts from Stack Overflow or by user314573
Published on 2010-04-19T17:25:06Z Indexed on 2010/04/19 17:33 UTC
Read the original article Hit count: 229

Filed under:
|

I'm trying to create a regex that will look for french words whether a user specifies the accented characters or not. So if the the user has searched for "déclaré" but types in declare instead I would like to be able to match the text still. I'm having difficulty making this more dynamic so that it can be matched on any french word...

Closest example from another user from a different post was:

d[eèéê]cl[aàáâ]r[eèéê]

Is it even possible to write a regex for something like this?

Any advice would be much appreciated.

© Stack Overflow or respective owner

Related posts about visual-studio-2005

Related posts about vb.net