fork(1) download
  1. import re
  2. s = '#txt1#txt2#txt3#txt4'
  3. print(re.findall(r"#([^#]*)", s))
Success #stdin #stdout 0s 23304KB
stdin
Standard input is empty
stdout
['txt1', 'txt2', 'txt3', 'txt4']