Quoting Marko Djukic <tech at oblo.com>: > Log: > if a dec point is a '.' the previous regex would be matching any char You could use preg_quote(), also. -chuck -- Charles Hagenbuch, <chuck at horde.org> "I'm really... I'm not too fascinated by green food." - Average Joe