当前位置:网站首页>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,最后删除表格,将表格复制,再只保留文本粘贴。
边栏推荐
- 3. Business and load balancing of high architecture
- 杰理之蓝牙设备想要发送数据给手机,需要手机先打开 notify 通道【篇】
- Cookie技术&Session技术&ServletContext对象
- Bloom taxonomy
- 可变参数重载时的内存错误
- CDN acceleration and cracking anti-theft chain function
- TypeScript 可索引类型
- Yield method of tread
- Applied stochastic process 01: basic concepts of stochastic process
- leetcode1020. 飞地的数量(中等)
猜你喜欢
Prefix and array series
Leetcode59. spiral matrix II (medium)
leetcode35. 搜索插入位置(简单,找插入位置,不同写法)
变量的命名规则十二条
Configure raspberry pie access network
The author is dead? AI is conquering mankind with art
Development of entity developer database application
leetcode704. Binary search (find an element, simple, different writing)
Leetcode35. search the insertion position (simple, find the insertion position, different writing methods)
Win10 64 bit Mitsubishi PLC software appears oleaut32 DLL access denied
随机推荐
【mysql学习笔记30】锁(非教程)
Uni app practical project
Briefly describe the differences between indexes, primary keys, unique indexes, and joint indexes in mysql, and how they affect the performance of the database (in terms of reading and writing)
杰理之需要修改 gatt 的 profile 定义【篇】
Proteus -- Serial Communication parity flag mode
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
杰理之BLE【篇】
A brief introduction of reverseme in misc in the world of attack and defense
What does UDP attack mean? UDP attack prevention measures
Solution to the problem of breakthrough in OWASP juice shop shooting range
数字IC设计笔试题汇总(一)
TypeScript 函数定义
navicat如何导入MySQL脚本
Uncaught typeerror: cannot red properties of undefined (reading 'beforeeach') solution
Thought map of data warehouse construction
开源的网易云音乐API项目都是怎么实现的?
chrome查看页面fps
Crawling exercise: Notice of crawling Henan Agricultural University
Markdown 中设置图片图注
Kubernetes cluster builds ZABBIX monitoring platform