Esgrimidor:
--------------------------------------------------------------------------------
HOw can i deleted lines that begins with a proposed same string ?

Best Regards
--------------------------------------------------------------------------------

Hi,
if you just want to delete the content of all lines starting with some given
string, you can use regular expression replace (Ctrl+H), e.g.:
^Beginning_of_a_useless_line.*$
replace using regex with an empty string.
^matches at the beginning of the line
$ matches at the end of the line
. matches any character except of newline
* is a quantifier for "any number" - zero or more - of the preceeding element

note that in PSPad, you currently can't match the whole line including the
newline character at the end, hence, after a replacement above you get an empty
line but the ending newline stays there.

hth,
   vbr

-- 
<http://forum.pspad.com/read.php?2,69182,69183>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem