Hi , what i want is to extract the scripts using your DIHtmlParser , then saving the extracted script into a new html file named Ext_Script.html let me suppose the following : in a test.htm i have this simple js : <html> <head> <title> my web project </title> </head> <body oncontextmenu="return false" onselectstart="return false" ondragstart="return false"> </script>test test tes </script> </body> </html> so the Ext_Script.html will have only : </script>test test tes </script> -- Many thanks ----- Yours Randy