RLIKE
This page is part of MariaDB's Documentation.
The parent of this page is: SQL Operators for MariaDB Enterprise Server
Topics on this page:
Overview
See REGEXP.
EXAMPLES
CREATE TABLE rlike_example (
description VARCHAR(20),
example INT
);
INSERT INTO rlike_example VALUES
('Everything', 42),
('Dalmations', 101),
('Agent', 99),
('B. Doz.', 13),
('CPU', 64);
SELECT * FROM rlike_example
WHERE description RLIKE 'ing$|^....t';
+-------------+---------+
| description | example |
+-------------+---------+
| Everything | 42 |
| Agent | 99 |
+-------------+---------+