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

php - Magento - Deleted Base url key -

javascript - Tooltipster plugin not firing jquery function when button or any click even occur -

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -