mysql regex match any character except line break -


i use regex using regexp instruction in mysql query. regex contains rule character except line break.

select * column regexp 'exp1.*=*.*exp2'

but mysql seams treat .* character including line break

any ideas how change regex match character except line break

thanks

depending on line ending style, either use [^\n]* match other line feeds, or [^\n\r]* match other line feeds , carriage returns.


Comments

Popular posts from this blog

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -

php - Magento - Deleted Base url key -

android - How to disable Button if EditText is empty ? -