title: How to specify to match more than one character inside regex sqaure brackets?
body: <p>Given a user input string, I need to find if it end with one of the following - .com, .net , .edu., html  etc.</p>
  
  <p>Is there any way to do this with the regex square brackets? </p>
  
  <p>I tried $[.com|.net|.html] and $[(.com)(.net)(.html)] but both don't work.</p>