当前位置:网站首页>How to delete all the words before or after a symbol in word
How to delete all the words before or after a symbol in word
2022-07-06 07:22:00 【Yang Yi】
Catalog
One 、 Turn all soft returns into hard returns
Two 、 Delete the symbol and all the following text
3、 ... and 、 Delete the symbol and the preceding text
2. Each line does not necessarily have this symbol
Before deleting all the words before or after a symbol, change the soft carriage return in the file into hard carriage return .
One 、 Turn all soft returns into hard returns
First open the edit tag , See whether the paragraph is followed by a hard return or a soft return .



This is a hard return , There is also a downward arrow ↓ Line break , This is a soft return .
We need to replace soft return with hard return .

Two 、 Delete the symbol and all the following text
Every line has this symbol , Or not every line has this symbol . You can use this method .

I want to delete Arrow and the content behind the arrow .


If you want to delete ~ Symbols and the following contents , Replace the first character in the search content in the above figure with ~ that will do , Other symbols are the same .
3、 ... and 、 Delete the symbol and the preceding text
1. Every line has this symbol
The right arrow shown in the figure below is the symbol I want to change , Other symbols are the same , Just change the right arrow .

2. Each line does not necessarily have this symbol
If you use 1 Methods ,

Will turn into :

That is, delete the lines without this symbol .
Select the text , Insert table , Text to table , The number of columns is set to 1, Check “ Adjust the table according to the window ”, Check “ Paragraph marks ”, Click ok .
then

result :

Then convert the table into text : Copy the table , Then only keep the text pasted

Four 、 summary :
1. Turn all soft returns into hard returns : ^l Replace with ^p
2. Delete the symbol and all the following text :( Symbol )*^13 Replace with ^13 ; eg: ~*^13 Replace with ^13, Namely the ~ Delete the symbol and the following text .
Every line has this symbol , Or not every line has this symbol . You can use this method .
3. Delete the symbol and all previous words :
1) If every line has this symbol : ^13*( Symbol ) Replace with ^13
2) If not every line has this symbol : Select the text , Insert table , Text to table , The number of columns is set to 1, Check “ Adjust the table according to the window ”, Check “ Paragraph marks ”, Click ok . Then find the content *( Symbol ) Replace with ^13, Finally, delete the table , Copy the form , Then only keep the text pasted .
Reference resources :word How to delete all the text before or after a symbol (baidu.com)
边栏推荐
- leetcode841. Keys and rooms (medium)
- 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
- Project GFS data download
- Go learning -- implementing generics based on reflection and empty interfaces
- leetcode1020. Number of enclaves (medium)
- The way to learn go (II) basic types, variables and constants
- Jerry needs to modify the profile definition of GATT [chapter]
- 配置树莓派接入网络
- Bugku CTF daily question: do you want seeds? Blackmailed
- jmeter性能测试步骤实战教程
猜你喜欢

Go learning -- implementing generics based on reflection and empty interfaces
![[window] when the Microsoft Store is deleted locally, how to reinstall it in three steps](/img/57/ee979a7db983ad56f0df7345dbc91f.jpg)
[window] when the Microsoft Store is deleted locally, how to reinstall it in three steps
![Jerry's ad series MIDI function description [chapter]](/img/28/e0f9b41db597ff3288af431c677001.png)
Jerry's ad series MIDI function description [chapter]

The way to learn go (I) the basic introduction of go to the first HelloWorld

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

数据仓库建设思维导图

Multi attribute object detection on rare aircraft data sets: experimental process using yolov5

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 of Jerry [chapter]](/img/d8/d080ccaa4ee530ed21d62755808724.png)
Ble of Jerry [chapter]

mysql如何合并数据
随机推荐
jmeter性能测试步骤实战教程
word中把带有某个符号的行全部选中,更改为标题
多线程和并发编程(二)
Bugku CTF daily question: do you want seeds? Blackmailed
Jerry's ad series MIDI function description [chapter]
可变参数重载时的内存错误
剪映的相关介绍
Thought map of data warehouse construction
TypeScript接口与泛型的使用
Solution to the problem of breakthrough in OWASP juice shop shooting range
leetcode704. Binary search (find an element, simple, different writing)
word设置目录
TypeScript void 基础类型
Yield method of tread
Week6 weekly report
LeetCode Algorithm 2181. Merge nodes between zero
【MySQL学习笔记32】mvcc
1091: two or three things in childhood (multi instance test)
“无聊猿” BAYC 的内忧与外患
[MySQL learning notes 30] lock (non tutorial)