title: Hide div if URL hash begins with word in Javascript
body: <p>How could I hide divs that begin with id "news" but also contain a number like "news1" "news2" etc if the URL hash doesnt contain "news".</p>
  
  <p>like hide if <code>someurl.com/#events</code>. but show any "news" div   if  <code>someurl.com/news1</code></p>
  
  <p>need in regular JS</p>
  
  <p>thanks,</p>