in reply to Re^3: regex needed to remove parts of SQL
in thread regex needed to remove parts of SQL

what about this
$sql =~ s/((?<=select)|(?<=,))\s*[^,]*?\s+as//gi ;
I couldn't have done this without your help!!

thnx
LuCa