News for hackers. Stuff that matters.
Re:Regex Generator++, THE Automatic Generator of Regular Exp... by pisdrul on Monday December 22, 2014 @12:24PM (#8783977)
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?

Re:Regex Generator++, THE Automatic Generator of Regular Exp... by ftarlao on Monday December 22, 2014 @12:28PM (#8783994)
Yes 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"