title: Filter list with regex
body: <p>I think this is a easy task but I'm new to regex so can't figure it out. I want to filter a list that contains something like this:  "ANY"-"ANY"-"ANY"</p>
  
  <p>Input: </p>
  
  <pre><code>List1 = ["AB.22-01-01", "AB.33-01-44", "--4", "AA.44--05", "--"]
  </code></pre>
  
  <p>Output: </p>
  
  <pre><code>List2 = ["AB.22-01-01", "AB.33-01-44"]
  </code></pre>
  
  <p>Each item will contain two "-" but I only want to get the ones with text on each sides of the "-". </p>