OT maybe: Looking for a tool or . . .?
Patton Echols
p.echols at comcast.net
Tue Feb 20 11:21:13 UTC 2007
On 02/20/2007 12:27 AM, Robert Spanjaard wrote:
> On Mon, 19 Feb 2007 18:22:20 -0800, Patton Echols wrote:
>
>
>>> In Emacs:
>>>
>>> Bold:
>>>
>>> Alt-x replace-regex
>>> <b>.*?</b> RETURN
>>> RETURN
>>>
>>> Italics:
>>>
>>> Alt-x replace-regex
>>> <i>\(.*?\)</i> RETURN
>>> \1 RETURN
>>>
>>> If you have questions, you could reply, or try the
>>> help-gnu-emacs at gnu.org list
>>> (http://lists.gnu.org/mailman/listinfo/help-gnu-emacs)
>>>
>>> Matthew Flaschen
>>>
>>>
>>>
>> 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. Never have seen a windows version of emacs, but I'll take your
word for it.
More information about the ubuntu-users
mailing list