How create a regex for simpleDateFormat : <p>How to create a regex for simpledateformat with this pattern <code>yyyyMMdd_HHmmss</code> should I check only digits, can anyone write a valid regex for it, or is there a web site somewhere that generates a regex for this pattern, I need to check if a string contains a date, but sometimes the time is different, so I decided that it is good idea to checks if string contains a regex.</p>
