I am trying to extract download and upload speed number from the string, not able to achieve it, please help
Input String: My ADSL 14Mbps/2M speed
Expected output:
Download_speed = 14
Upload_speed = 2
My SQL
SELECT regexp_substr('My ADSL 14Mbps/2M speed','[^\/]+') donwload_speed
,regexp_substr('My ADSL 14Mbps/2M speed','[^\/]+$') upload_speed
FROM dual
output is coming as from above SQL
download_speed = My Fiber 14Mbps
upload_speed = 2M speed