Just a word - your regex is better written without capturing. s/(?<=CalendarName=)[^&=]*/ReplacementString/. In this case I used a positive assertion so it only begins matching as it hits the end of 'CalendarName=' at which point it replaces everything that isn't an ampersand or an equal character.
In reply to Re: Re: Replacing parts of a string
by diotalevi
in thread Replacing parts of a string
by spiderbo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |