The REGEXP function only returns true or false, and can't be used to replace strings either. Is there any way I can actually get the matching string itself, or at least its position?
Edit: Sorry, but this is not a duplicate to the replace question, it might well be that there is some way to access the regex match in another context.