tr should be faster, though.
In reply to Re^5: Pattern matching regex problem by ikegami in thread Pattern matching regex problem by Anonymous Monk