From: Marcus Bristav Date: 2006-09-29T18:04:16+09:00 Subject: Regexp help Hello everyone, I have a string of the form 2h 3m or 3m 2h or 2h 3minutes or 2hour 3min and so on Is there a smart regexp one liner that could produce [2, 3] If anyone types just for example 2 than that should produce [2] for any of the above input? I know that there will be an m or an h. /Marcus