title: Remove a timestamp from string
body: <p>So I have been trying to take off a timestamp from a string, a file name to be more specific.</p>
  
  <p>I tried making a substring, but the size of the timestamp is variable.</p>
  
  <p>For example, sometimes it's like this:</p>
  
  <pre><code>2016-05-05 03:45:00.907text.txt
  </code></pre>
  
  <p>and sometimes like this:</p>
  
  <pre><code>2016-05-05 03:45:00.83text.txt
  </code></pre>
  
  <p>Maybe regex is the answer?</p>
  
  <p>The string to be processed will always have a timestamp plus a filename. The filename can start with numbers or letters.</p>
  
  <p>I forgot to say it's for Java.</p>