HTML : Detect html tag on a string, get the value and remove values ...

HTML : Detect html tag on a string, get the value and remove values ...