J
J
jumic2019-09-30 23:33:26
Notepad++
jumic, 2019-09-30 23:33:26

How to remove a word from lines containing .ru domain using Notepad ++?

tell me how to remove a word containing .ru from lines using regular expressions in notepad ++,
for example
, a site about the city of Moscow moscow.ru
a site about the city of Bryansk bryansk.ru
, etc.
you need to remove moscow.ru and bryansk.ru from the list so that
the site about the city of Moscow remains the site about
the city of Bryansk

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
dodo512, 2019-10-01
@jumic

Search pattern \w+\.ru\b
Leave the replacement string blank.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question