I am quite stuck with a regex I can't get to work. It should capture everything except digits and the word fiktiv (not single characters of it!). Objective is to get rid of this content.
I have tried something like (?!\d|fiktiv).* on my sample string 123456788daswqrt fiktiv
https://regex101.com/r/kU8mF3/1
However this does match the fiktiv at the end as well.
awk '{gsub(/fiktiv/,"");gsub(/[0-9]/,"";print $0}'.replace(/(fiktiv)|\D/g, "$1")(in JS). What is the regex flavor and what is the expected output?\dRegex.Replace(input, "(fiktiv)|[^0-9]", "$1")? Or are you limited to TSQL toolset? See regex101.com/r/vR4uU0/1