I have a document that contains encoding-related characters to get rid of i (like replace with "") .
I have a common problem in describing their origin. There are various examples (for example, vim
) which are displayed in different editors.
Osh
(
& lt; 9c & gt;
is a part that I would like to get rid of)
- these
Geany
:
(But copy the copy copy without this 'square' symbol)
- In these
LibreOffice Calc
:
please
Please note that my text is whcih in other Polish-language-specific Symptoms appear correctly Areas are.
Question: How to regex it in Vim?
You can & lt; 9c & gt;
via
: help Ctrl + V (In Windows, often Ctrl + Q by pressing Q
X and hexadecimal number:
\% x 9c < / Code> Regular Expression Atom matches that value: :% s / \% x9c // g
Alternatively, when you Also the cursor is on it through yl
, and then : s
via the command line & lt; C-R & gt; "
.
No comments:
Post a Comment