Salaam!
I have an application that take html document and do some operations on it
1- remove the unwanted tags like script, mata , object,forn totally that means the tag and it's content
2- remove the unwanted tags and keep the inner html like tag span , div
3- remove the unwanted attributes from a tag like style, size ... etc
i wanna use regular expressions to solve these questions , any idea or any piece of code will help
regards