hello I am trying what I thought would be a rather easy regex in Javascript but is giving me lots of trouble. I want the ability to split a date via javascript splitting ei
or just use for date strings 2015-05-20 or 2015.05.20
date.split(/\.|-/);