View Single Post
  #26  
Old 08-28-2009, 11:19 AM
Andrew80k
Dragon
 
Join Date: Feb 2007
Posts: 659
Default

Nahh. That won't work. You'll need to escape the '|' with \ so:

s/\|\|/\|NULL\|/g;

the '|' is a special character in perl used as 'or' in regular expressions.

Last edited by Andrew80k; 08-28-2009 at 11:21 AM.. Reason: Forgot my semicolon
Reply With Quote