replace - Replacing strings in MySQL? -


i have strings in y table:

abcdefg_1056-df or
123erttzz-1292 or
gdfgdfg_1056

what want first part, abcdefg example first string. can replace numbers , -df empty string, dont know how.

ideas?

i suggest regex replace. have here - think might you:

how regular expression replace in mysql?


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -