SyntaxFix
Write A Post
Hire A Developer
Questions
You can use a single group for seconds/minutes. The following expression may suit your needs:
([0-9]+)\s*(seconds|minutes)