|
Posted by Rik on 10/27/71 11:46
Mark wrote:
> eh..well. thanks, but no. i love the idea of it just being "smart".
> google knows what i'm talking about.
> strtotime works alright, doesnt recognize everything i want it to, but
> oh well. it has a nice second parameter, so i can make it relative to
> the start time :)
>
> it really shouldnt be too hard to break it up into integer and letter
> components though.. maybe i'll have fun with regex or whatever later
To just "catch" the integers, you could
preg_match("/[0-9]+/",$input,$matches);
Grtz,
--
Rik Wasmus
Navigation:
[Reply to this message]
|