News for hackers. Stuff that matters.

pisdrul

What about if I want to extract a text based on a pattern which comes before the match?

eg:

Hello name: carl Your name: simon Enter your name: mark

I am only interested in the first name and not in the string "name:". Will it works?