Friday, 6 May 2011

Regular Expression in MySQL

WHERE phone REGEXP '[(]435[)]';

would return only phone numbers with (435), such as "1(435)555-5555".

No comments:

Post a Comment