3 ms·
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
by pisdrul 12y ago
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?
- ftarlao 12y agoYes it works, it finds out the 'shape' of the surrounding text and it writes a regex using lookarounds operators which does the work right. So, yes, it builds an extractor which is able to extract only "simon" and "mark"