title: Java regex @ strings
body: <p>I need some help using regex in java.</p>
  
  <p>Im trying to achieve 2 different validations and i dont really know how (all i know is that there's a matches method you might use):</p>
  
  <p>1) Making sure a string <strong>DOESNT</strong> include one of very specific characters lets say (char1, char2..)</p>
  
  <p>And (in seperated validation - not same regex pattern as 1):</p>
  
  <p>2) Making sure a string <strong>DOES</strong> include a pattern of "anythingCanBeHere@anythingCanBeHere" note that "" (empty string) and "anythingCanBeHere@" is valid BUT "@anythingCanBeHere" isn't valid. btw, can i somehow use this regex to split in a correct way of the first value before @ and second value which is after @?</p>
  
  <p>Much thanks guys, waiting for ur answer :)</p>