extract function

Extract pattern matches from text