mIRC Home    About    Download    Register    News    Help

Print Thread
#260828 23/06/17 04:00 PM
Joined: May 2017
Posts: 9
N
nwmv Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
N
Joined: May 2017
Posts: 9
I'm looking to remove all punctuation from a message. Is there a more efficient way to remove a list rather than typing out each one individually like $remove(message,$chr(32),$chr(33),$chr(34),etc) ?

Last edited by nwmv; 23/06/17 04:01 PM.
nwmv #260831 23/06/17 09:12 PM
Joined: Apr 2010
Posts: 969
F
Hoopy frood
Offline
Hoopy frood
F
Joined: Apr 2010
Posts: 969
All punctuation?

Code:
$regsubex(message, /[\s[:punct:]]/g,)


I am SReject
My Stuff

Link Copied to Clipboard