Strip control codes and extended characters from a string: Difference between revisions
Strip control codes and extended characters from a string (view source)
Revision as of 04:07, 15 January 2023
, 1 year ago→{{header|langur}}: replace deprecated ZLS token with ""
m (simplification for OCaml) |
Langurmonkey (talk | contribs) m (→{{header|langur}}: replace deprecated ZLS token with "") |
||
Line 1,414:
writeln "original : ", .str
writeln "without ctrl chars: ", replace(.str, RE/\p{Cc}/,
writeln "print ASCII only : ", replace(.str, re/[^ -~]/,
{{out}}
|