I couldn't have done this without your help!!$sql =~ s/((?<=select)|(?<=,))\s*[^,]*?\s+as//gi ;
In reply to Re^4: regex needed to remove parts of SQL
by jeanluca
in thread regex needed to remove parts of SQL
by jeanluca
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |