Siemel Naran wrote:
Does anyone know if the search string, or the 2nd argument, can be a regular
expression?
Tried it, and I would say that it is not possible.
If I use something like replace( email, '^www.', '' ), it would find
only rows which start with the "^www." including the first character
(unlike it would work with regular expressions.)
I also tried:
replace( email, email REGEXP '^www.', '' )
But that doesn't either work, because email REGEXP '^www.' would just
return 0 or 1 depending wether the url starts with www. or not. So that
would replace 0 or 1 characters in the string.
I got no other ideas how it cold work.