scrape pattern