I have a column data "testdata" like this "NEW /abc/testapp/v1 POST/6.0" and I want to retrieve the output as "/abc/testapp/v1"
I am able to retrieve the data starting (/abc/testapp/v1 POST/6.0) like this
select regexp_extract(testdata,'^(.*?)(?:/)(.*)$', 2) from tablename;
But not sure how to strip the POST/6.0 part in the same query.Can someone please help here?