fork download
  1. import re
  2. source = 'mystring/1234567890 hello world mystring/2345678901 hello'
  3. print(re.findall(r"\bmystring/\d{10}",source))
Success #stdin #stdout 0.02s 27760KB
stdin
Standard input is empty
stdout
['mystring/1234567890', 'mystring/2345678901']