在文本查找中使用通配符

您所在的位置:网站首页 查找与替换通配符 在文本查找中使用通配符

在文本查找中使用通配符

2024-07-10 12:15| 来源: 网络整理| 查看: 265

LibreOffice 6.2 帮助

索引 🔎︎ 在文本查找中使用通配符

通配符或占位符可用于搜索某些未指定甚至是不可见的字符。

在文档中查找与替换文字时,可以使用通配符。例如,查找 "s.n" 可以找到 "sun" 和 "son"。

选择「编辑 - 查找与替换」。

点击「更多选项」展开对话框。

选中「正则表达式」复选框。

在「查找」框中,输入要查找的关键词与通配符。

点击「查找下一个」或「查找全部」。

正则表达式示例

代表单个字符的通配符是句点 (.)。

代表零或更多之前字符串的通配符是星号。例如: "123*" 可以找到 "12"、"123" 以及 "1233"。

用于查找零或多次出现的任意字符的组合通配符是句点加星号 (.*)。

表示段落结尾的通配符是美元符号 ($),而表示段落起始处第一个字符的组合通配符是脱字符加句点 (^.)。

跳转字符的通配符为 \t。

使用正则表达式的搜索仅在一个段落内有效。若在多个段落内使用一个正则表达式进行搜索,需在每段分别执行搜索。

相关主题

通配符列表

如果页面有用,您可以支持我们!

Impressum (Legal Info) | Privacy Policy | Statutes (non-binding English translation) - Satzung (binding German version) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Mozilla Public License v2.0. “LibreOffice” and “The Document Foundation” are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy. LibreOffice was based on OpenOffice.org.

Help content debug info:

This page is: /text/swriter/guide/search_regexp.xhp

Title is: 在文本查找中使用通配符



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3