in reply to IRC color code stripping
Try something like this (untested): s/\cK\d{1,2}(?:,\d{1,2})?|[\cK\cB\cI\cU\cR\cO]//g
Update: ikegami is right indeed. Try this then: s/\cC\d{1,2}(?:,\d{1,2})?|[\cC\cB\cI\cU\cR\cO]//g
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: IRC color code stripping
by ikegami (Patriarch) on Sep 23, 2006 at 17:02 UTC |