That would be a little less complicated actually. How about something like:
?s/(copyright\s+[\d, -]*)/$1, 2003/i;
Edit: Changed character class to use a literal space and (oops) put the hyphen in the right place: at the end.
-sauoq "My two cents aren't worth a dime.";
In reply to Re: Re: Re: modifying list of numbers
by sauoq
in thread modifying list of numbers
by jc23
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |