I am trying to get first 8 digit number in string. For example, need to get 49691234 in all below strings. Tried to use PatIndex & Substring functions but not getting result I desire. Pls advise
Example:
'hello world # 49691234 - black fox'
'black fox # 49691234'
'black fox 49691234 hello'