in reply to regex help

Why not use one of the available CLI modules?