Andrew, You're request is not clear to me.
Would you post a before list & an after list so we can see what you want?
example would be
the text file would contain:
something something revision1
something something revision2
something something revision3
something something
something something
if the code i posted is loaded it would return
something something revision1
something something revision2
something something revision3
i would like to to do the same thing but search a list not a text file and make a new list with the keyword