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

jquery - Invalid Assignment Left-Hand Side -

javascript - Preserving URL fragment through CAS sign-on -

asp.net mvc - Implementing normal user/pass, Twitter & Facebook auth -