I want to know if I can get the variable match returned in mySQL when usinig REGEXP. If I have the text "this is test number 23 and nothing else" in a field and run
where field REGEXP 'number ([0-9]+) and'
I only get 1 or 0, but what I really want is "23", and to be able to use it in let's say "give me all fields > 15".
2006-10-24
01:39:59
·
1 answers
·
asked by
forgiatura
1
in
Computers & Internet
➔ Programming & Design
Yes, that is the problem with REGEXP i guess, that it only returns 1 or 0.
ie I need a solution to my problem, where I wanna know if the digits inside of the text has a certain value and from this determine if it should be included in the result.
2006-10-24
03:34:09 ·
update #1