fork download
  1. import re
  2.  
  3. s = '#100001000100#'
  4. match = re.search('#((100+)+)#', s, re.IGNORECASE)
  5. print(match[1])
Success #stdin #stdout 0.02s 9428KB
stdin
Standard input is empty
stdout
100001000100