Need some Help with Filtering out my Text
-
I have a screenshot here: http://prntscr.com/9sqct4
I want to remove everything that comes before “|” as well as the “|” itself. Or keep everything that has http:// and after.
I’m very new to notepad ++ and would love some help on this issue! Thank you :) -
Hello Aaron-Miller
open replace dialog and put the following into find what:
(.+|)(?=http.*)leave replace with empty.
Select Regular expression in Search mode and press replace all.
Keep a copy of the original data for safety ;-)What it does is
.* look for every char until a | appears and if http follows, then make it a group
to be reported back (known as match).As replace with hasn’t anything in it this group will be replacey with nothing.
Hope this makes sense.
Cheers
ClaudiaBtw. I assume that | appears only once and directly before http
-
I do understand. It worked. Thank you so much Claudia!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login