Page is a not externally linkable
lucy24 - 6:39 am on May 23, 2012 (gmt 0)
As far as Regular Expressions are concerned, an accent (do you mean ' or ´ or ’ or something else?) is just another character. When you say "anywhere in the string" do you mean anywhere including first and last, or only in the middle? Your example looks perfectly reasonable-- but note that if you're doing this in javascript you may need to excape the space in that middle group.
Now, what does make me uneasy is that your example word appears to be in Hebrew, and I would really really like to know how you prevented it from turning into numerical entities the way everyone else's non-Latin-1 text does.
I would also really like to know why this window has seen fit to use serif type instead of the usual sans-serif-- AND smart quotes, which my browser doesn't even have-- and can't help wonder if they are all related.