Better HN
topnewbestaskshowjobs
Log inSign up

pisdrul

1 karma · joined Dec 22, 2014 (11y ago) · 1 submissions

Submissions

comment 11y ago · link · parent

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?