alias gettime {
if ($regex($strip($1-),/posted\s((?:\d+d\s)?(?:\d+h\s)?(?:\d+m\s)?(?:\d+s\s)?)\s?ago/)) { return $regml(1) }
}
Then just $gettime(input) well returned the parsed bit you wanted. [/quote]
Well, that actually seemed to work quite good!

However, i just discovered.. when the post is older than 24 hrs, the date is added to it aswell.. So then the correct string will be:
Blehblehbleh got posted 16d 5h 42m 12s [11/05/2005] ago by blehblehIs it possible to modify the regex to fit to that? Get it to like skip or ignore [date] or something..?
And also, i get "1 16d 5h 42m 12s" in the output, why do i get the first "1" character?