title: Use regular expressions to match any number of characters as long as the first character isn't a digit
body: <p>I'm trying figure out how to use regular expressions to match any number of characters as long as the first character isn't a number. I also want it to match if there are no values in the portion of the string I'm checking (the end of it).</p>
  <p>If I do this:</p>
  <pre><code>Pattern = re.compile (value + r&quot;\D.*&quot;)
  </code></pre>
  <p>It only works if the string has at least one (non-digit) value after the match value.</p>
  <p>If I do this:</p>
  <pre><code>Pattern = re.compile (value + r&quot;\D?.*&quot;)
  </code></pre>
  <p>It will match even if the first value is a digit.</p>
  <p>I'm trying to find a match for zero to any values at the end of the string, as long as the first value isn't a digit.</p>
  <p>Examples:</p>
  <blockquote>
  <p>Check &quot;abc123&quot; against:</p>
  <p>&quot;abc123&quot; : Match<br />
  &quot;abc123ab&quot; : Match<br />
  &quot;abc1234&quot; : Not a match<br />
  &quot;abc1234a&quot; : Not a match<br />
  &quot;abc123a4&quot; : Match</p>
  </blockquote>