当前位置:网站首页>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)
边栏推荐
- The best way to learn SEO: search engine
- C语言 简单易懂的高精度加法
- 杰理之BLE【篇】
- “无聊猿” BAYC 的内忧与外患
- Project GFS data download
- On the world of NDK (2)
- Upgraded wechat tool applet source code for mobile phone detection - supports a variety of main traffic modes
- OpenJudge NOI 2.1 1661:Bomb Game
- Set picture annotation in markdown
- 杰理之普通透传测试---做数传搭配 APP 通信【篇】
猜你喜欢
jmeter性能测试步骤实战教程
The way to learn go (I) the basic introduction of go to the first HelloWorld
杰理之BLE【篇】
Raspberry pie 3B update VIM
学go之路(一)go的基本介绍到第一个helloworld
Markdown 中设置图片图注
Wechat brain competition answer applet_ Support the flow main belt with the latest question bank file
微信脑力比拼答题小程序_支持流量主带最新题库文件
CDN acceleration and cracking anti-theft chain function
L'auteur est mort? Ai utilise l'art pour conquérir l'humanité
随机推荐
Upgraded wechat tool applet source code for mobile phone detection - supports a variety of main traffic modes
杰理之需要修改 gatt 的 profile 定义【篇】
Wechat official account infinite callback authorization system source code, launched in the whole network
The best way to learn SEO: search engine
L'auteur est mort? Ai utilise l'art pour conquérir l'humanité
TypeScript 函数定义
树莓派串口登录与SSH登录方法
【mysql学习笔记29】触发器
Ble of Jerry [chapter]
[online problem processing] how to kill the corresponding process when the MySQL table deadlock is caused by the code
OpenGL ES 学习初识(1)
剪映的相关介绍
TypeScript 可索引类型
The way to learn go (I) the basic introduction of go to the first HelloWorld
Lesson 12 study notes 2022.02.11
Bloom taxonomy
Markdown 中设置图片图注
Ble of Jerry [chapter]
Multi attribute object detection on rare aircraft data sets: experimental process using yolov5
[MySQL learning notes 29] trigger