3

I use to code Sublime Text 2 and sometimes I need remove diacritics. How to remove diacritics from part of text? Is there som filter or something?

Thanks for any suggestions. Feri

Feri
  • 2,709
  • 1
  • 12
  • 7
  • 1
    outside of Sublime Text, you could use something from [this question](http://stackoverflow.com/questions/517923/what-is-the-best-way-to-remove-accents-in-a-python-unicode-string). – Andy Hayden Sep 28 '12 at 20:25
  • 1
    @hayden thanks for suggestion. I made a small plugin https://github.com/frkosk/AccentsRemover – Feri Oct 02 '12 at 07:00

1 Answers1

2

My suggestion would be to look at this question and it's answers:

Regex - What would be regex for matching foreign characters?

You can use the regex find utility of Sublime and try the regex that is suggested by Fredrik Mörk

\p{L}
Community
  • 1
  • 1
MattSaw
  • 451
  • 2
  • 11