title: Expressionengine hooks
body: <p>I have a safecracker form that submits an entry. The form consists of title, url_title, and description. I want to create an extension hook that filters out certain words if they exist in the <code>title</code> of the entry. </p>
  
  <p>I already have a function that take care of the cleaning <code>function clean(){....}</code>. I understand that we need to use an extension hook so we can clean the title upon saving the entry. </p>
  
  <p>What extension hook do i need to use for that. can you give me a complete example of an extension hook. I'm very good with PHP but still new to hooks and how they should be implemented. I already read the EE documentation but still find some confusion of how a hook is used</p>