0

I want to filter customer collection based on firstname containing chinese characters. In MySQL I can do it using the following:

SELECT `e`.* FROM `customer_entity` AS `e` WHERE (HEX(`e`.`firstname`) REGEXP '^(..)*E[4-9A]') AND (`e`.`email` LIKE '%qq.com') 

How can I do same in magento script.

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.