From Newsgroup: comp.lang.tcl
On 11/08/2024 9:28 PM, saito wrote:
Is there a way to remove emojis, non-printable and other graphic
characters from a string? I can use a regexp with a-zA-Z and such but
this doesn't account for valid characters from non-ascii/non-Western languages, right?
I've found that this regular expression works for emojis:
[^[:print:][:cntrl:]]
--- Synchronet 3.20a-Linux NewsLink 1.114