L
L
Lolo2022-02-26 20:07:38
Regular Expressions
Lolo, 2022-02-26 20:07:38

How to find a character if it occurs in a line (exactly, and not in the whole text) more than once?

There is a text of many lines, here is an excerpt:

Человек – родовое понятие, указывающее на отнесенность существа к высшей степени развития живых организмов – человеческому роду.
Самопознание – процесс познания человеком самого себя.


The task is to find a character if it occurs in a line (exactly, and not in the entire text) more than once.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
dodo512, 2022-02-26
@Pingvo

–.*?–
https://regex101.com/r/Q8Kmiy/1

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question