S
S
serj372019-10-07 08:24:12
Regular Expressions
serj37, 2019-10-07 08:24:12

How to remove a regular string without a dot?

You need to delete lines without a dot:
Yes:
yahoo.com
yahoocom
mail.ru
mailru
You need to leave:
yahoo.com
mail.ru

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DevMan, 2019-10-07
@serj37

find ^[^.]+$and replace with an empty string.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question