Tel phone number 555-555-5555
SELECT * FROM phone WHERE pnumber REGEXP '[0-9]{3}-[0-9]{3}-[0-9]{4}';
CAS number
SELECT * FROM products WHERE cas REGEXP '[0-9]{2,7}-[0-9]{1,2}-[0-9]{1}';
Subscribe to:
Post Comments (Atom)
-
Step 1, New a project rails new demo Step 2, Update Gemfile add paperclip, mysql2 gem, enable JavaScript runtime gem 'mysql2' ...
-
I used 7z to zip this file under Windows, try to unzip it under linux [ang@walker temp]$ gunzip 2011.sdf.zip gunzip: 2011.sdf.zip: unkno...
-
When trying to access transmission from web-browswer i got the message : 403: Forbidden Unauthorized IP Address. Either disable the IP ad...
search non-ascii chars:
ReplyDeletevim
/[\x7f-\xff]
or
/[^[:print:]]
SQL:
select signatureID, name, signature from signatures where signature REGEXP '[\x80-\xff][1,2000]' ;
select signatureID, name, signature from signatures where signature REGEXP '[^[:print:]]' ;