regexp_substr()
regexp_substr() is pattern matching. LIKE uses % and _. REGEXP / RLIKE uses regular expressions (e.g. name REGEXP '^[A-Z]'). They are not interchangeable.
REGEXP_LIKE, REGEXP_REPLACE, REGEXP_SUBSTR, REGEXP_INSTR are MySQL 8 helpers. Don’t write Java-style /pattern/g.
Trap — LIKE with regex stars. Trap: REGEXP on a huge unindexed column.
On the example next to this theory: regexp_substr(): create two demo rows, then SELECT qty >= 2 ordered. Say which labels come back.
Exam tip
LIKE vs REGEXP in one sentence, plus one example.