You are here: Re: Regular expression in MySQL (need to strip number fiel of spaces and then match). « PHP SQL « IT news, forums, messages
Re: Regular expression in MySQL (need to strip number fiel of spaces and then match).

Posted by Dave Fountain on 03/04/07 09:36

On Thu, 01 Mar 2007 18:32:16 GMT, "David Smithz"
<dave1900@blueyonder.co.uk> wrote:

>Ideally another way of doing this would be to use the regular expression in
>a replace statement (currenlty playing around with this).
>
>e.g.
>
>SELECT REPLACE (mobile_number, ' ', '') FROM `mytable` WHERE 1 LIMIT 5
>
>the above works in removing the blank spaces, but if I could instead have a
>regular expression to say, instead of just spaces, any non numercial
>character, this would be good.
>
I know nothing about the topic but is there a function that allows you
to *keep* numerical characters, then you would only have to check for
10 cases?

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация