title: Checking if String ends with something with Java (Regex)
body: <p>I need to know whether check whether a String end with something like .xyz plus any characters after it. </p>
  
  <p>Like this:</p>
  
  <pre><code>myString.endsWidth(".css*")
  </code></pre>
  
  <p>However this does not pass my if-statement. One concrete example is this kind of string: <code>style.css?v=a1b23</code></p>
  
  <p>Any ideas? </p>
  
  <p><strong>Complete example String:</strong></p>
  
  <pre><code>http://xyz.com//static/css/style.css?v=e9b34
  </code></pre>