in reply to Re: String replacement with regex...
in thread String replacement with regex...
(Apologies if my SQL is off, it's been a long time.) So here's just one more way to do it:CREATE TABLE varchar (15) LastName, varchar (300) Notes
$buffer =~ s/varchar\s*\( (?: \d{4,} | 2 (?: 5 [6-9] \d* | [6-9] \d+ ) | [3-9]\d{2,} )\)/TEXT/gix;
|
|---|