title: Regular expression and sed to remove all occurences of some string from hundreds of files
body: <p>I'm perusing the web for information about regular expressions and sed usage.  I've also got sed's manual open.  Still, I'm posting this question here because I'm sure someone uses the two often enough that they can probably answer this question before I work out a solution.</p>
  
  <p>I've got a few hundred html documents with links like the following:<br/>
  <a href="http://www.example.com/subfolder/abc.asp?page=1#main" rel="nofollow">http://www.example.com/subfolder/abc.asp?page=1#main</a><br/>
  I need to remove the "#main"</p>
  
  <p>Does a pattern pop into mind?</p>