doesn't match your data. Particularly the milliseconds./^(\d+)-(\d+)-(\d+) (\d+):(\d+):(\d+)$/
Update: a pattern that matches the data you show is:
Update 2: a pattern that matches with optional fractional seconds is:/^(\d+)-(\d+)-(\d+) (\d+):(\d+):(\d+\.\d+)$/
/^(\d+)-(\d+)-(\d+) (\d+):(\d+):([0-9.]+)$/
In reply to Re: regex not working
by trammell
in thread regex not working
by gwhite
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |