Regex to extract account number from a path with specific format

Thanks kumar. the account nos isn’t the filename, hence is a part of the path. I have updated the post