You will use PHP to protect the following WYSIWYG Forms

1. Strip all html tags from this submission and remove white space from both sides of the submission


2. Only allow image and anchor tags.


3. Output the number of words in the post.


4. URL encode all hyperlinks.


5. Make all words title case


6. (Bonus) If there is something that has a www, add a hyperlink around it if it does not exist.