当前位置:网站首页>word中如何删除某符号前面或后面所有的文字
word中如何删除某符号前面或后面所有的文字
2022-07-06 07:16:00 【阳懿】
目录
删除某符号前面或后面所有的文字之前先把文件里的软回车变成硬回车。
一、将所有软回车变成硬回车
首先打开编辑标记,看段落后面是硬回车还是软回车。
这种是硬回车,还有一种是以向下的箭头 ↓ 换行,这是软回车。
我们需要将软回车换为硬回车。
二、删除符号及后面所有的文字
每行都有这个符号,或者不是每行都有这个符号。 都可以采用这个方法。
我要删除 箭头以及箭头后面的内容。
如果想删除~符号以及后面的内容,将上图中查找内容里第一个字符换为~即可,其他符号同理。
三、删除符号以及前面的文字
1.每行都有这个符号
下图所示右箭头即我要换的符号, 其他符号同理,只需改变这个右箭头。
2.每行不一定有这个符号
如果用1的方法,
会变为:
即删除没有这个符号的行。
选中文字,插入表格,文本转换成表格,列数设置为1,勾选“根据窗口调整表格”,勾选“段落标记”,点击确定。
然后
结果:
然后把表格转换为文本:复制该表格,再只保留文本粘贴
四、总结:
1.将所有软回车变成硬回车: ^l 替换为 ^p
2.删除符号及后面所有文字:(符号)*^13 替换为 ^13 ; eg: ~*^13 替换为^13,即把~符号及后面的文字删除。
每行都有这个符号,或者不是每行都有这个符号。 都可以采用这个方法。
3.删除符号及前面所有文字:
1)若每行都有这个符号: ^13*(符号) 替换为 ^13
2)若不是每行都有这个符号:选中文字,插入表格,文本转换成表格,列数设置为1,勾选“根据窗口调整表格”,勾选“段落标记”,点击确定。 再查找内容 *(符号) 替换为 ^13,最后删除表格,将表格复制,再只保留文本粘贴。
边栏推荐
- Uncaught typeerror: cannot red properties of undefined (reading 'beforeeach') solution
- Is software testing outsourcing going or not? Three years' real outsourcing experience tells you
- How are the open source Netease cloud music API projects implemented?
- JDBC学习笔记
- Leetcode59. spiral matrix II (medium)
- 【mysql学习笔记29】触发器
- LeetCode Algorithm 2181. Merge nodes between zero
- 可变参数重载时的内存错误
- C语言 简单易懂的高精度加法
- L'auteur est mort? Ai utilise l'art pour conquérir l'humanité
猜你喜欢
首发织梦百度推送插件全自动收录优化seo收录模块
Leetcode 78: subset
Introduction to ros2 installation and basic knowledge
MPLS experiment
Wechat brain competition answer applet_ Support the flow main belt with the latest question bank file
树莓派串口登录与SSH登录方法
The best way to learn SEO: search engine
Idea console color log
leetcode59. 螺旋矩阵 II(中等)
How are the open source Netease cloud music API projects implemented?
随机推荐
C语言 简单易懂的高精度加法
The psychological process from autojs to ice fox intelligent assistance
可变参数重载时的内存错误
Cookie Technology & session Technology & ServletContext object
微信公众号无限回调授权系统源码 全网首发
Establishment and operation of cloud platform open source project environment
SSM learning
How to configure GUI guide development environment
配置树莓派接入网络
【线上问题处理】因代码造成mysql表死锁的问题,如何杀掉对应的进程
【MySQL学习笔记32】mvcc
Setting and using richview trvstyle template style
How to find a medical software testing institution? First flight software evaluation is an expert
Uncaught TypeError: Cannot red propertites of undefined(reading ‘beforeEach‘)解决方案
18. Multi level page table and fast table
变量的命名规则十二条
Openjudge noi 2.1 1749: Digital Square
LeetCode 78:子集
[server data recovery] case of offline data recovery of two hard disks of IBM server RAID5
C - Inheritance - polymorphism - virtual function member (lower)