What is the best method to match a pattern in set of lines

2009-06-19 Thread Terminator
Hello, My requierment is to get the "Stick Tag" value from the below o/p and based on tag take different actions. What is the best way to implement it. I am new to Python, so appreciate any input. Command o/p: === File: Packet.tcl

WORLD FAMOUS EVOLUTIONIST IN PRISON -- THE THRINAXODON TIMES

2014-02-23 Thread TERMINATOR OF TALK.ORIGINS
== > BREAKING NEWS == > RICHARD LEAKEY RECENTLY SENT TO PRISON AFTER BEING CAUGHT SCAMMING MILLIONS OF YOUNG PEOPLE INTO THE SCAM OF EVOLUTION. > THRINAXODON, WHO WAS THE LEAD PROSECUTOR SAID THIS TO THE NY TIMES: It strikes me silly that on