Helpo de LibreOffice 25.2
Regular expressions are special patterns used to find and manipulate text, helping you locate specific information within texts.
SerÄi per regulaj esprimoj diferencas al serÄi per ĵokeroj. LibreOffice-Verkilo subtenas nur serÄi per regulaj esprimoj.
Vi povas uzi regulajn esprimojn kiam vi serÄas kaj anstataÅigas tekston en dokumento. Ekzemple, "fi.o" trovas je "fido" kaj "filo".
Elektu je
.Alkalku je
por etendi la dialogon.Marku la markobutonon
.En la kampo
, tajpu la serÄotan terminon kaj la regula(j)n esprimo(j)n uzotajn en la serÄo.Alkalku al
aÅ .La regula esprimo por unuopa signo estas la punkto (.).
The regular expression for a word character \w, and \d for a decimal digit.
La regula esprimo por nul aÅ pli da aperoj de la antaÅa signo estas la steleto. Ekzemple: "123*" trovas "12", "123", kaj "1233".
The regular expression to search for zero or more occurrences of any character is a period and asterisk (.*).
The regular expression for one or more occurrences of the previous character is a plus sign (+). For example: "\w+" finds any word, "\d+" any number.
The regular expression for a tab character is \t. More generally, \s stands for all kinds of "spaces", like non-breaking space, carriage return ...
The regular expression for the end of a paragraph is a dollar sign ($). The regular expression for the start of a paragraph is a caret and a period (^.). The regular expression for an empty paragraph is ^$.
A search using a regular expression will work only within one paragraph. That is, a \n will match a line break within a paragraph.