Jump to content

Recommended Posts

Posted
  • 3 weeks later
Posted

Fairly easy regex parse for getting all chat channels:

print $line, "\n" if ($line =~ m/\[[\s\w]+\]/);

 

Stripping out the color tags would be

$line =~ s/<color #[\d\w]{6}>|<bgcolor #[\d\w]{6}>//g; 

  • Like 1
  • Thanks 1
  • 3 months later

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...