0

Let's say I have a text file named Names.txt, it contains that lines:

John
Jane ohio
mark newzelland
mark zucherberg
hell

When I search "mark" or just mark it tells me it is inside of Names.txt. What I want to have is take an output as:

mark newzelland
mark zucherberg

Is there anything I can use for that purpose?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.