Hi Thomas,

Thomas Blasejewicz schrieb am 15.08.2022 um 09:04:
Good afternoon from Japan
Actually, I have asked about this in 2018 and a number of things were suggested.
Unfortunately none did solve the problem.
Problem:
I have a long file with about 3,500 lines (each line = item) looking like:
HKES    良知良能 [りょうちりょうのう] /(n) xxxxxx/

where I would like to replace the "space[" and "]space" with tabs
so that I can import the file into Calc.

However, working with Japanese Windows 10, Japanese keyboard etc. NOTHING I tried so far allowed me to enter a \t (=> THIS is supposed to be a backslash) as a regular expression, telling
the computer to replace the space[ with a tab.

Question:
Is there a trick telling the computer to replace any key sequence with a tab?

Because [ and ] are part of the syntax of a regular expression, you need to use \u005b and \u005d instead. If the \ is not available on your keyboard, you can insert it in a text document in Writer by using the character map. It is at decimal 92. Then bring it to the dialog via copy&paste.

Kind regards
Regina



--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy

Reply via email to