AltSearch: search for Arabic numbers in hindi form

i have a long file in which i need to remove all the digits in it
so i tried to use altsearch and i searched for: \d (digits)
but that will only show the digits in this form: 1 2 3 and not this: ١٣٢
how to do that?

—version info
Version: 24.2.5.2 (X86_64) / LibreOffice Community
Build ID: 420(Build:2)
CPU threads: 4; OS: Linux 6.10; UI render: default; VCL: kf6 (cairo+wayland)
Locale: en-US (en_US.UTF-8); UI: en-US
24.2.5-2
Calc: threaded
os: arch linux

It seems that Unicode Character ‘ARABIC-INDIC DIGITS’ are not recognized as digits (\d).
You can search the arabic-indic digits by copying into AltSearch.oxt or into the regular SEARCH&REPLACE form.
For highlighting more than one of these digits use the pipe symbol: | as a form of logic OR. Activate Regular Expressions (only then the logic OR will work).


SEARCH
RegExPipeAsOr







Another way for proceeding could be to replace each Arabic digit with its Latin equivalent. All that depends on your targets.


EDIT
I added Arabic in your question for better understanding the problem.

1 Like

thank you.