当前位置:网站首页>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)
边栏推荐
- 杰理之AD 系列 MIDI 功能说明【篇】
- Redis builds clusters
- SSM learning
- Cookie技术&Session技术&ServletContext对象
- 数据仓库建设思维导图
- 网络安全基础介绍
- Uncaught typeerror: cannot red properties of undefined (reading 'beforeeach') solution
- 升级版手机检测微信工具小程序源码-支持多种流量主模式
- [MySQL learning notes 32] mvcc
- Wechat official account infinite callback authorization system source code, launched in the whole network
猜你喜欢

You deserve this high-value open-source third-party Netease cloud music player

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
![[MySQL learning notes 30] lock (non tutorial)](/img/9b/1e27575d83ff40bebde118b925f609.png)
[MySQL learning notes 30] lock (non tutorial)
![[MySQL learning notes 32] mvcc](/img/0d/2df82b63d1eb3283a84e27f67c1523.png)
[MySQL learning notes 32] mvcc

leetcode1020. Number of enclaves (medium)

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

Lesson 12 study notes 2022.02.11

Set picture annotation in markdown

JDBC learning notes

L'auteur est mort? Ai utilise l'art pour conquérir l'humanité
随机推荐
【mysql学习笔记29】触发器
Oracle column to row -- a field is converted to multiple rows according to the specified separator
Openjudge noi 2.1 1749: Digital Square
The way to learn go (I) the basic introduction of go to the first HelloWorld
Detailed explanation | detailed explanation of internal mechanism of industrial robot
The way to learn go (II) basic types, variables and constants
网络安全基础介绍
TypeScript 接口属性
Word setting directory
Solution to the problem of breakthrough in OWASP juice shop shooting range
qt颜色与字符串、uint相互转换
Typescript variable scope
Markdown 中设置图片图注
Bit operation XOR
学go之路(一)go的基本介绍到第一个helloworld
SEO学习的最好方式:搜索引擎
SSM学习
OpenJudge NOI 2.1 1749:数字方格
The author is dead? AI is conquering mankind with art
Word delete the contents in brackets