macro regular expression help
-
hello everyone,
I’m gonna need your help with setting up 2 macros using regular expressions,
first of all I would like to remove from my host file lines like:
starting with: 0.0.0.0 followed by space(s) or tab(s) (or maybe anything) and then any ip addresses,
I tried with ^0.0.0.0*\b\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3}\b.*\R but doesn’t workand I need another, more complex one, I’ll come up with that later
thanks in advance!
-
ok, fixed that, I’ll come up with the next later,
can somebody remove those restrictions posting? -
well, I’ve got many lines containing sentences like:
(9 row(s) affected) and empty line above and below,
how can I write a macro to remove these 3 lines altogether? -
edit: fixed that too, stay tuned :D
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