Search found 5 matches

by g114112118s
Mon Sep 06, 2010 9:50 pm
Forum: General
Topic: Find the phrase and delete the complete line using reg-ex
Replies: 7
Views: 580

Re:Find the phrase and delete the complete line using reg-ex

That's true; I am in Tokyo and it's over mid-night here. So I don't want o walk-up i7 to disturb other. :lol: I used to TextPad a lot 5 years ago. But now I am far from software development. I am occasionally using TextPad for the macro or bulks changes. i need integrated telnet/ssh with TextPad ...
by g114112118s
Mon Sep 06, 2010 8:18 pm
Forum: General
Topic: Find the phrase and delete the complete line using reg-ex
Replies: 7
Views: 580

Re:Find the phrase and delete the complete line using reg-ex

Hi, ben_josephs,

Thanks for the help & support :D For the my least query; $0 works for me. and i have no further questions.


Thanks,
Ankur
by g114112118s
Mon Sep 06, 2010 7:45 pm
Forum: General
Topic: Find the phrase and delete the complete line using reg-ex
Replies: 7
Views: 580

Re:Find the phrase and delete the complete line using reg-ex

WoW; Thanks...This will helps me a lot.....BTW; i got a small issue here...I tried some combination but I can't be able to figure it out...i got following output. However , I am excepting "snmp-server enable traps isdn" instead of "0". i am sorry for keep you bothering.

snmp-server community ...
by g114112118s
Mon Sep 06, 2010 5:11 pm
Forum: General
Topic: Find the phrase and delete the complete line using reg-ex
Replies: 7
Views: 580

Re:Find the phrase and delete the complete line using reg-ex

Hi, ben_josephs, :-)

Thanks a lot; it's truly mind blowing , I would apprentice if you can give me some little more direction.

in my example; if their line has phrased "snmp" & "isdn"; I need to put some instruction in next line. However, I also want intact matched phrase line .

Again, Thanks ...
by g114112118s
Mon Sep 06, 2010 3:28 pm
Forum: General
Topic: Find the phrase and delete the complete line using reg-ex
Replies: 7
Views: 580

Find the phrase and delete the complete line using reg-ex

Hello:

I have several text script files where password is clearly mentioned. Below is just as an example. I am looking for a regex where I can find the phrase “password� and replace the matching line with some string ex. Password removed. Contact admin at ext 10101 or just wanted to delete ...