title: Search for Capital Letter in String
body: <p>I am trying to search a string for the last index of a capital letter. I don't mind using regular expressions, but I'm not too familiar with them.</p>
  
  <pre><code>int searchPattern = searchString.lastIndexOf(" ");      
  String resultingString = searchString.substring(searchPattern + 1);
  </code></pre>
  
  <p>As you can see, with my current code I'm looking for the last space that is included in a string. I need to change this to search for last capital letter.</p>