Open the file in emacs, cursor over to the character and use C-x =.
Oh, ok, a Perl solution. Making a few assumptions about the variable storing the string, and the text in the region of the funny character ...
use utf8; $text_before = "abc"; $text_after = "def"; $text =~ s/($text_before).($text_after)/$1X$2/
--
TTTATCGGTCGTTATATAGATGTTTGCA
In reply to Re: Slightly OT - Matching a strange character
by TomDLux
in thread Slightly OT - Matching a strange character
by NovMonk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |