Can anyone help me to solve this problem?
I am looking for a single perl regular expression that can replace all occurrentcs of not 'JAZZ' with 'a'.
For example, "aJAZJAZZa" should be change to "aaaaJAZZa"
I tried to use lookaround feature in Perl but I can't find a solution yet. I sill can not disambiguate between the last 2 'Z' in 'JAZZ'.