I am struggling with regular expressions in mysql. Since there is are no positive/negative lookbehinds/aheads how can I search for string that doesn't contain a specific substring? I build a regex that would work fine in PCRE and looks like this
/* example where it should match entry 1:
entry 1: ...lorem ipsum [table mode="foo" offset="1"] dolor sit...
entry 2: ...lorem ipsum dolor sit...
entry 3: ...lorem ipsum [table language="en" mode="foo"] dolor sit...
*/
'\[table.*(?<=language).*\]'
How can I achieve the same in MYSQL?