You can use regular expressions to parse delimited text, for example, very easily. Here is an article from ftp online: Parse Text Files With Regular Expressions that discusses this in more detail.