Domanda di colloquio di IBM

how to write a script for extracting specific pattern in flat file.