Given a string like "copyright 1990-2000, 2001. All rights reserved ..." I want to be able to search for the string containing the word copyright and then modifying the dates following it to read 1990-2003.
I found the regex that takes a list of numbers and produces the range as a result, but how do I modify it so that the regex will only modify the string containing the word copyright in it and modify the range to include the current year?
here's the link to the regex i was referring to click!
Thanks. jc
In reply to modifying list of numbers by jc23
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |