Main Area and Open Discussion > General Software Discussion
Delete lines starting with a string in a txt file predefined
Contro:
I want to delete all the lines that begins with "dermatitis" without quotes.
But the effect is that all the lines are deleted.....-Contro (January 27, 2014, 05:54 PM)
--- End quote ---
Follow lanux128's steps but check the "Regular Expressions" box and use this as a search string: ^dermatitis
(see attachment in previous post)
-skwire (January 27, 2014, 06:48 PM)
--- End quote ---
Understood. So seems we have a powerful "hidden" script maker with pspad.
I am charmed with the scripts to deleted x characters from any line selected (or repeating the script in many lines....)
:-*
Contro:
Beatiful indeed. Thanks both of you very much.
After some knowledge of regex i am convinced is for good professionals like yours.
Best Regards
:tellme: :tellme: :tellme: :tellme:
lanux128:
Beatiful indeed. Thanks both of you very much.
After some knowledge of regex i am convinced is for good professionals like yours. -Contro (January 28, 2014, 02:32 PM)
--- End quote ---
well, i am glad to be of help and i am sure skwire's pretty chuffed about it too. :Thmbsup:
Navigation
[0] Message Index
[*] Previous page
Go to full version