web parser written in java using regular expressions