Hi,
I need to replace strings in a URL when the date key value for example "Nov18" matches variable $DATE, the original strings look like:
newsletter.mydomain/;kw=frNov18tracking
newsletter.mydomain/;kw=engNov18tracking
what I need is something like:
mydomain.dart/nlsample
Here is the what I used but it didn't work out: $DATE=Nov18
s/newsletter\.mydomain\/\;kw=[eng|fr]$DATEtracking/mydomain\.dart\/nlsample/g;
With this substitution I got :
mydomain.dart/nlsamplengNov18tracking
mydomain.dart/nlsamplerNov18tracking
so [eng|fr]Nov18tracking became [ng|r]Nov18tracking and was append to the target string. Can anybody tell me what's wrong with my substitution? Thanks very much!
I need to replace strings in a URL when the date key value for example "Nov18" matches variable $DATE, the original strings look like:
newsletter.mydomain/;kw=frNov18tracking
newsletter.mydomain/;kw=engNov18tracking
what I need is something like:
mydomain.dart/nlsample
Here is the what I used but it didn't work out: $DATE=Nov18
s/newsletter\.mydomain\/\;kw=[eng|fr]$DATEtracking/mydomain\.dart\/nlsample/g;
With this substitution I got :
mydomain.dart/nlsamplengNov18tracking
mydomain.dart/nlsamplerNov18tracking
so [eng|fr]Nov18tracking became [ng|r]Nov18tracking and was append to the target string. Can anybody tell me what's wrong with my substitution? Thanks very much!