Note that the '+' modifier is greedy so your regex will match the entire string
You can use '?' to make it non-greedy /(\w{3}\s+?\w{3}\s+?\d+)/ and the result will be stored in $1.
UPDATE: Ignore this post.
In reply to Re: regex-matching the date
by Eureka_sg
in thread regex-matching the date
by stuffy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |