SELECT DISTINCT wld_posts.* FROM wld_posts INNER JOIN wld_postmeta ON
( wld_posts.ID = wld_postmeta.post_id ) LEFT JOIN wld_postmeta AS wld_acf_meta ON
wld_posts.ID = wld_acf_meta.post_id WHERE 1=1 AND ( ( ( wld_postmeta.meta_key = '_listing_price' AND CAST(wld_postmeta.meta_value REGEXP '[^0-9]' AND wld_postmeta.meta_value AS SIGNED) BETWEEN '1' AND '5000' ) ) )
AND wld_posts.post_type = 'listing' AND ((wld_posts.post_status = 'publish'))
REGEXP ломает поиск и я получаю 0 результатов, что я тут уже не так сделал?:D