fork(2) download
  1. import re
  2. str = "?CNTN_CD=A0002400127&PAGE_CD=ET00_1&BLCK_NO=1&CMPT_CD=T0016&TEXT=한글패러미터"
  3. pattern = re.compile(r"[\u0000-\u007F]+")
  4. result = pattern.search(str)
  5. print(result.group(0))
Success #stdin #stdout 0.02s 27720KB
stdin
Standard input is empty
stdout
?CNTN_CD=A0002400127&PAGE_CD=ET00_1&BLCK_NO=1&CMPT_CD=T0016&TEXT=