in reply to Re: removing square brackets
in thread removing square brackets

Translation to Perl:
perl -lne 'print$1if/(-?\d(?:\.\d+)?)/' < data > munged

Update: I posted this before Fletch updated his node.