thePixeler.... I just have to say I was looking for this exact type of script today to process one of my work txt files (about 80M of txt with 2000 merged files inside) The one tiny litle ploblem is that, when it finds the character or piece of text you´d like to cut, it cleans that character. In my adapted program, if I ask the program to cut everything after "position" the resulting txt file will start with "osition". Can this be solved? It´s just a nitpick, I know.... Thanks for the script, I´ll be sure to mention you! (you´ve just saved me a lot of work!) Edit: Ok, nevermind, I can actually use this "bug" in my favour!