| Article: |
Five Habits for Successful Regular Expressions | |
| Subject: | more appropriately ... | |
| Date: | 2003-08-29 12:31:01 | |
| From: | anonymous2 | |
|
Response to: US phone numbers
|
||
|
Not to take away from the main point of the article; it's an ugly practical problem I've dealt with in the past and I wanted to point out another option. Re-stated in the context of the article, please replace the appropriate line in my last post with:
|
||
Showing messages 1 through 2 of 2.



all digits of the pattern in MYSQL
X-XX-X
XX-XX-X
XXX-XX-X
XXXX-XX-X
XXXXX-XX-X
I tried
mysql> select * from database where field regexp "(\d{2,5}-\d{2}-d{1});
seems not working
regards
M.Karthikeyan
pl. mail:
karthik@email.unc.edu