in reply to truncate line starting with multi-char delimiter

Remove spaces followed by a slash followed by anything.
for (@t) { s/^ +//; s/\(\)//g; s/\s*\/.*//; }

Replies are listed 'Best First'.
Re^2: truncate line starting with multi-char delimiter
by rrlobster (Initiate) on Jan 10, 2010 at 17:20 UTC
    perfect, thanks!