#!/usr/bin/perl #use strict; my $line; while ( ) { chomp; $line = $_; $line =~ /\s+<\w+\/?>(.*)<\/\w+>/; $line = $1; print "$line\n"; } __DATA__ First_Table
Output :- First_Table First_Table #### if [jesuashok]; --$exp; __END__