Talwin:
--------------------------------------------------------------------------------
Hi,

is it possible, when I mark text, to delete it without the also marked html
tags? 
--------------------------------------------------------------------------------


Hi Talwin welcome,
you can do nearly everything with PSPad, perhaps without cooking coffee?

Try this

Search/Replace 
with "[x]RegEx" on 
and "(o)Selected text" checked

.

Search for:
(>)[^<](.+?)[^>](<)

Replace with:
$1-deleted-$3

.
---
.

For deleting inside <a href >
it depends how  your code looks.

try search for:
(<a href).+?[^>](>)

and Replace with:
$1="-deleted-"$2

.
--
.

Of course test this with copies of your files only
and you can remove this '-deleted-' string in the final version.
If you not have already please consider to donate to PSPad.

Hint: Try the [?][!] buttons in the FIND dialog.


If this helps you please help two other peoples too.

-- 
greeds,     Stefan
[img]http://pspad.milten.lima-city.de/Fan.gif[/img]  (pleased user since 1722)
[url=http://tinyurl.com/52xrj]inofficial FAQs[/url] +  
[url=http://forum.pspad.com/read.php?2,16286,page=2]Infos[/url] + 
[url=http://forum.pspad.com/read.php?6,24628]Special Settings[/url]

<http://forum.pspad.com/read.php?2,41867,41873>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem