M
M
minepoc2020-05-28 22:05:54
Text recognising
minepoc, 2020-05-28 22:05:54

How to find certain nicknames in the text?

Hello. I wondered how to make a script that in a large amount of text will write out nicknames of the "First_Last Name" format in a column, climbing the forums did not find anything.
Script operation:
Enter the text:

style="top:813.166px;left:830.066px;background:url(/images/business_0.gif)" title="<div class='text-center'>Амуниция/Тир<br><br>Владелец: Richard_Universe</div>" data-toggle="tooltip" data-html="true"></div><div class="map-icon business-state-0 business-not-sale" style="top:558.291px;left:1013.365px;background:url(/images/business_0.gif)" title="<div class='text-center'>Амуниция/Тир<br><br>Владелец: Brake_Blame</div>" data-toggle="tooltip" data-html="true"></div><div class="map-icon business-state-0 business-not-sale" style="top:603.893px;left:616.15px;background:url(/images/business_0.gif)" title="<div class='text-center'>Амуниция/Тир<br><br>Владелец: Queens_Nakamura</div>" data-toggle="tooltip" data-html="true"></div><div class="map-icon business-state-1

Sample text above.
The script should display in a column:
Richard_Universe
Brake_Blame
Queens_Nakamura
I would be grateful if anyone can write or help write this script. Thanks in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Pankov, 2020-06-06
@trapwalker

Well, what is your problem? That you can't do it? Don't know where to start?
This task has nothing to do with the "Text Recognition" tag.
You just need to find in the text all the lines that match the regular expression and print them.
If you need someone to solve this problem for you on this resource, then this is not the right resource.
What forums did you visit? How did you search? Didn't find anything at all?
It sounds kind of unbelievable.
Ask specific questions, not assignments.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question