Hi Akshath,
you can use below code
pass your URL in any variable lv_url.
constants : lc_ques TYPE char1 VALUE '?' ,
lc_equal Type char1 value '=' ,
lc_back type char1 value '/' .
SPLIT lv_url AT lc_ques INTO lv_1st_part_url lv_2nd_part_url.
Split lv_2nd_part_url AT lc_equal into lv_3rd_part_url lv_4th_part_url.
SPLIT lv_4th_part_url AT lc_back INTO lv_5th_part_URL lv_customer_no.
and LV_CUSTOMER_NO will get value 000123.
hope this will help you.
Regards
Bhavana