title: Java REGEX pattern matching 2
body: <pre><code>Pattern pattern = Pattern.compile("^[a-zA-Z0-9]=[a-zA-Z0-9]+$");
  </code></pre>
  
  <p>I'm trying to make a pattern that will copy the PROPERTIES file format. But the code only works if the string before the equals sign is one character.</p>
  
  <p>My ending goal is to have a pattern that will look like this: AnyLetterOrNumberInUndefinedAmount=AnyLetterOrNumberInUndefinedAmount</p>
  
  <p>What can I do to fix my code.</p>