Regular Expression - Replace hex character codes with coresponding character

612 views Asked by At

Is it possible to replace hex character codes with coresponding character in TextMate or some similar text-editor for OS X?

Search Pattern:

=([A-F0-9]{2})

Replace Pattern:

\x$1

Source Text:

=E5=E4=F6=C5=C4=D6

Desired Result for replaced text:

åäöÅÄÖ


I've tried lots of differnet variations of $1 and \1 with differnet escapes and also octal syntax. But nothing produced desired result.

0

There are 0 answers