title: Regex for name.surname
body: <p>Hi i need regex for string like this: &quot;name.surname&quot;.
  Example: <em>abdul.hakar, johny.cash</em>, etc.</p>
  <p>But i need it to find only exactly string like them and need to be case sensitive only to small letters.</p>
  <p>From these strings:</p>
  <pre><code>test1265
  mfks*/
  jan.vavra
  jan...buzik
  magnum.*/jan.vavra
  Jan.vavra
  Jan.Vavra
  </code></pre>
  <p>I only need to find &quot;jan.vavra&quot;</p>
  <p>Tried it this way:</p>
  <pre><code>[a-z]*\.[a-z]
  </code></pre>
  <p>But sadly thats not working.</p>
  <p><a href="https://i.stack.imgur.com/1uIps.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1uIps.png" alt="enter image description here" /></a></p>
  <p>With @Olivier answer i got little bit closer. Still some imperfections with + instead of *?</p>
  <p><a href="https://i.stack.imgur.com/S7Hqn.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/S7Hqn.png" alt="enter image description here" /></a></p>