title: How to check if the string contains numbers from a specific range, for eg from 11 to 26 in java
body: <p>How to check if the string contains numbers from a specific range, for eg from 11 to 26 in java: For example:</p>
  
  <pre><code>public void checkStringForNumbers(){
      String str = "Green (Low): 20"
      if(String.valueOf(str).contains(numbers between 11 to 26)==true){
          System.out.println("I got 11 to 26 string");
      } else {
          System.out.println("I got a different value range");
      }
  }
  </code></pre>