OT maybe: Looking for a tool or . . .?

Robert Spanjaard spamtrap at arumes.com
Tue Feb 20 13:10:46 UTC 2007


On Tue, 20 Feb 2007 03:21:13 -0800, Patton Echols wrote:

>>> Ok, this looks like something I can figure out.  I appreciate it.
>>>
>>> This is the sort of thing that I need to do in different forms 
>>> repeatedly.  And part of the attraction of linux is the ability to do 
>>> this stuff,
>>
>> Ofcourse, in any editor that has search&replace, on _any_ OS, you can
>> replace "<b>" with "" and "</b>" with "", and so on.
>> And Emacs is ported to many systems as well, so I certainly wouldn't call
>> this a Linux-attraction. :-)
>   
> Errm, yeah.  But the trick is replacing both tags AND everything between 
> with "", regardless of how long it is.  Not a trick that any word 
> processor can do.  I think IBM's "e" could do it, but I no longer have a 
> copy. 

You're right. I misread/misunderstood the OP's intentions. I thought he
only wanted to strip the tags, not the text between them. In this case,
you need a search&replace with PCRE(-like) capabilities.

> Never have seen a windows version of emacs, but I'll take your word for
> it.

http://www.gnu.org/software/emacs/windows/faq2.html

-- 
Regards, Robert                                      http://www.arumes.com






More information about the ubuntu-users mailing list