Stefan Schwarzer wrote: > ("AF"), the other an integer (4). > Can a regular expression trick be the solution? for instance ^\d*?$ matches "4"; but it does not match "AF" HTH, -- Volkan Ozcelik +> Front End Architect, MessengerFX : http://www.messengerfx.com/ +> linkibol.com - in seek for quality links : http://www.linkibol.com/ +> my blog (in Turkish) : http://www.fikribol.com/donkisot/ +> Sardalya JavaScript Library : http://www.sarmal.com/sardalya/