#!/usr/bin/perl my $str = 'Uploaded 07-02▒05:14, Size 212.14▒MiB, ULed by someone';print "Pre:".$str."\n";$str =~ s/[^a-zA-z0-9,]+//g;print "Post:".$str."\n";
Standard input is empty
Pre:Uploaded 07-02▒05:14, Size 212.14▒MiB, ULed by someone Post:Uploaded07020514,Size21214MiB,ULedbysomeone
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!