当前位置:网站首页>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,最后删除表格,将表格复制,再只保留文本粘贴。
边栏推荐
- leetcode704. 二分查找(查找某个元素,简单,不同写法)
- Structure summary of SystemVerilog integrable model
- Multithreading and concurrent programming (2)
- Simple and understandable high-precision addition in C language
- (4) Web security | penetration testing | network security web site source code and related analysis
- Supervisor usage document
- Solution to the problem of breakthrough in OWASP juice shop shooting range
- A brief introduction of reverseme in misc in the world of attack and defense
- Markdown 中设置图片图注
- Three methods of adding color to latex text
猜你喜欢

Visitor tweets about how you can layout the metauniverse

数字IC设计笔试题汇总(一)

Thought map of data warehouse construction

C - Inheritance - polymorphism - virtual function member (lower)

升级版手机检测微信工具小程序源码-支持多种流量主模式

杰理之BLE【篇】

Solution to the problem of breakthrough in OWASP juice shop shooting range

这个高颜值的开源第三方网易云音乐播放器你值得拥有

Path analysis model

The ECU of 21 Audi q5l 45tfsi brushes is upgraded to master special adjustment, and the horsepower is safely and stably increased to 305 horsepower
随机推荐
Missing monitoring: ZABBIX monitors the status of Eureka instance
Leetcode 78: subset
3. Business and load balancing of high architecture
Chrome view page FPS
C - Inheritance - hidden method
How to configure GUI guide development environment
Win10 64 bit Mitsubishi PLC software appears oleaut32 DLL access denied
Hydra common commands
mysql如何合并数据
树莓派串口登录与SSH登录方法
leetcode6109. 知道秘密的人数(中等,周赛)
Raspberry pie 3B update VIM
杰理之需要修改 gatt 的 profile 定义【篇】
Cookie Technology & session Technology & ServletContext object
杰理之BLE【篇】
Librosa audio processing tutorial
杰理之普通透传测试---做数传搭配 APP 通信【篇】
[JDBC] quick start tutorial
Jerry needs to modify the profile definition of GATT [chapter]
Supporting title of the book from 0 to 1: ctfer's growth road (Zhou Geng)