In Mysql if we want to run a query that has condition like record should start with ‘D’ or ‘E’. Normally we use Like Operator. select * from tablename where name like 'D%' OR name like 'E%' But using REGEX in MySql we can get same result without using OR in query select * from