Search found 5 matches

by Mc2102
Wed Feb 14, 2007 3:19 pm
Forum: Advanced Find and Replace
Topic: Simply replace a complete line
Replies: 9
Views: 27368

Roman, first i want to say how much I appriciate your help on this. I disabled the "make review" option and I also disabled the "ask before replacing" function and the tool is running now since about 30 min but has not modified one line in the file. But it keeps the machine busy ...
by Mc2102
Wed Feb 14, 2007 2:19 pm
Forum: Advanced Find and Replace
Topic: Simply replace a complete line
Replies: 9
Views: 27368

After I have tested the syntax and of course it works as you say I have now the problem that I run this Replace command against my 65MB.txt file and I can see that "Advanced Find and Replace" takes up all the CPU and lots of memory but it is running now for 12 hours and nothing happened. I...
by Mc2102
Tue Feb 13, 2007 5:46 pm
Forum: Advanced Find and Replace
Topic: Simply replace a complete line
Replies: 9
Views: 27368

You are right. I did not check "g". My bad. Sorry about this.

Thank you so much for your help

Marcus
by Mc2102
Tue Feb 13, 2007 4:53 pm
Forum: Advanced Find and Replace
Topic: Simply replace a complete line
Replies: 9
Views: 27368

Roman, Thanks for the quick response. Acullay 'userpassword: \w+' dit not do the trick. Example: I have the following line userPassword: 12345678910 'userpassword: \w+' would do the following: userPassword: XXXXX2345678910 As you can see it would only remove the first number. So I used 'userpassword...
by Mc2102
Mon Feb 12, 2007 11:40 pm
Forum: Advanced Find and Replace
Topic: Simply replace a complete line
Replies: 9
Views: 27368

Simply replace a complete line

Hello, I have a ldif file with 90 000 users in it. So there are 90 000 lines in that file which contain the following string userpassword: <some password> <somepassword> is filled of course with the user password which contains numbers and letters. What I need to do is to replace the complete line w...