K
K
kirilldmt2015-03-04 22:28:25
Character encoding
kirilldmt, 2015-03-04 22:28:25

How to remove hieroglyphs and leave only Latin in the lines?

I have many strings that contain both English words and characters. All hieroglyphs must be removed. Do not make a mask, because the sequence may be different.
Here is an example of my
strings
:
带防盗指示灯,浅色 带防盗灯,浅色 with immobilizer light,grey 大灯
可调 , 黑色用 gray

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
MiiNiPaa, 2015-03-04
@MiiNiPaa

Why is there a regexp here? It looks like a trivial task of removing from a sequence of characters that do not belong to a certain set.

K
kirildmt, 2015-03-05
@kirilldmt

Solution:
I have data in excel.
Copy everything to notepad++ with ansi encoding. Hieroglyphs turn into question marks. Remove all question marks.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question