正则表达式的应用 Use #1: Text-processing the web Web is full of data but it's in text form for humans to read · Screenscraping extracting the data you want from screen output these days, the output format is HTML Examples: extract tour schedule of your favorite bands from Ticketmaster web sites as web services: convert address to geo coordinates正则表达式的应用 • Use #1: Text-processing the web – Web is full of data, but it’s in text form for humans to read • Screenscraping – extracting the data you want from screen output – these days, the output format is HTML • Examples: – extract tour schedule of your favorite bands from Ticketmaster – web sites as web services: convert address to geo coordinates 2