I am having an script that converts links to xml sitemap, it is working perfectly,
I want to add a functionality to check the links.
I want to remove those lines which are
01. Not having both https and .html in one single line.
02. Blank Lines
03. any line having "&" symbol.
After doing above check scrip should start converting the sitemap