Data Extraction programs using Patterns