If this was a more simple query, using a backreference (eg, \1) in your search would be a way to do this. See posts regarding Match Double Letters for examples.
But, like my reply to your previous post, I'd still suggest using a Date module, unless this is just for your education.
In reply to Re: The first match affect the following of the regex
by igelkott
in thread The first match affect the following of the regex
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |