title: how to remove special characters and to get two dates from given string?
body: <p>how to remove special characters and to get two dates from given string?</p>
  
  <pre><code>public class Remove {
    public static void main(String[] args) {
      String s="[From:14 02 1986,To:14 02 2016]";
      System.out.println(s);
    }
  }
  </code></pre>