I have a txt file which get read with javascript.
function handleTextFile(evt)
    {
        var files = evt.target.files; 
        var reader = new FileReader();
        reader.onload = function(){
        Text = reader.result.toLowerCase();
        };
        reader.readAsText(files[0]);
    }
I want find in var >Text< all Dates.
The located date shall be saved in a variable. The only thing i know-> i can match date formats with code
    var pattern =/^([0-9]{2})\/([0-9]{2})\/([0-9]{4})$/;
but i want not only a true or false output. I want the Value of this located date.
Anyone has a link or a some code for me?
 
    