AB-Tools.com

Forum Forum



Replies on the topic "delete all text on every line after or before"

Show product page of program "Delete lines"


Table of contents:
delete all text on every line after or before, alan, 2010-02-22 11:03:07
Re: delete all text on every line after or before, Andreas Breitschopp (Webmaster), 2010-02-22 12:30:02


delete all text on every line after or before
alan, 2010-02-22 11:03:07
so...I have this text

12 look mywebsite.com/image/dark.jpg 12 visits
13 look mywebsite.com/img/icon/1.jpg 2 visits 1 out
14 look 1 out mywebsite123.com/image/dark.jpg 1 visit 2 out

My question: I need 3 regular expressions.
1. to delete everything that is after ( lets say ) mywebsite.com on every line
2. to delete everything that is before ( lets say ) mywebsie.com on every line
3. to delete what is before and after ( lets say ) mywebsite.com on every line

Thanks for the help
ReplyGoto top


Re: delete all text on every line after or before
Andreas Breitschopp (Webmaster), 2010-02-22 12:30:02
Hello Alan,

there are many good sites in the internet with tutorials for regular expressions like that:
http://www.regular-expressions.info

Maybe you can find an answer to your problem there.

Best regards
Andreas
ReplyGoto top


Back to the threads

© Copyright 1999-2017 AB-Tools.com GmbH · AB-SoftCon.net

Deutsch English Español Français Polski