Extract digits from string

Hi Everyone,

I need to extract first four digits and last four digits from the given string. Like string is "sgdh567895dgh6787" then first four digits would be 5678 and last four are 6787. 

Can anyone please help me out?

Many Thanks!

  Discussion posts and replies are publicly visible

Parents Reply Children