-
March 14th, 2008, 05:54 AM
#1
Regular Expressions TExt Editor
Wondering if anyone has a suggestion on what regular expression text editor to use? I have been using only notepad so far, bu need some more sophisticated app to analyze logs etc.. Basically i need to be able to say "delete all lines containing this pattern" or everything but..
I heard of vim but i think it is for unix mostly (heard that ported to windows as well).
Any other suggestions?
BTW, i need a freeware tool
Thanks!
-
March 14th, 2008, 06:59 AM
#2
Re: Regular Expressions TExt Editor
vim is good but there is also emacs (or a variation of that name). I believe both are available for windows. Emacs is part of the FSF stuff (GNU) and is most definitely free.
-
March 14th, 2008, 08:24 AM
#3
Re: Regular Expressions TExt Editor
Thanks!
Can I use Programmers Notepad for this?
like delete all the lines containing "bla di bla" for example
-
March 14th, 2008, 08:42 AM
#4
Re: Regular Expressions TExt Editor
Actaully i ended up using VIM..
I am really a newbie in this kind of scripting, but as far as i can see, i need to write a script (.vim) and run the script when i load my log file.
I want to remove the lines containing this phrase for example "FromOS"
Can someone please help me on how to work this out?
-
March 14th, 2008, 10:32 AM
#5
Re: Regular Expressions TExt Editor
I've not used vim a lot but as it is a derived from Unix's 'vi' I would imagine you can use all the editting facilities available including regular expressions etc.
If you want to dynamically run a scipt each time a file is loaded you can probably get 'ed', 'sed' or even 'awk' unix facilities for DOS. I am sure I have seen these available for free or not very much.
The 'man' pages for all these things are available onlne in numerous locations.
Cheers
Roj
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|