import re
source = 'mystring/1234567890 hello world mystring/2345678901 hello'
print(re.findall(r"(?<=\bmystring/)\d{10}(?!\S)",source))