网络营销电子商务研究中心  
How to buy the best prescription safety glasses in Canada? Let's study!
Go Back   网络营销电子商务研究中心 > 休闲娱乐 > 闲话灌水
User Name
Password
 
FAQ Members List Calendar Cheap Glasses

闲话灌水 追逐时尚话题,共度开心时刻,体会生活点滴,分享精彩人生。

Reply
 
Thread Tools Display Modes
  #1   IP: 153.99.77.51
Old 2016-06-24, 12:49 PM
Naturita Naturita is offline
初级会员
 
Join Date: 2010-04-27
Posts: 1
Naturita 现在声名狼藉
Default 正则表达式删除含有特定字符的行,不同的特定字符,并且有很多行

比如下面的数据:a 1324843212
b6546456546462
c435452455
a5465464654654
k4444444444444444
gggsoo8965465454
======================
我想把含有a、b、a的行整行删除
Reply With Quote
  #2   IP: 153.99.77.51
Old 2016-06-24, 12:52 PM
Nazareth Nazareth is offline
初级会员
 
Join Date: 2006-12-31
Posts: 1
Nazareth 现在声名狼藉
Default

用软件Replace Pioneer的正则表达式a|b|c,
并结合行替换即可,
详细步骤:1. ctrl-o打开文本文件

2. ctrl-h打开replace窗口* 把replace unit选为Line表示按整行操作* 在search for pattern输入"a|b|c"(不带双引号)*
在replace with pattern不填表示替换为空

3. 点击replace即可。
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off

Forum Jump

Prescription-glasses.com offers prescription glasses online at discount prices.
All times are GMT +8. The time now is 10:46 AM.


Powered by vBulletin Version 3.8.7
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.