Hey there,
as i don't want to spend another hour googling forthe right regex: I want to remove the last backslash of a given string with gsub:
"C:\Program Files\".gsub(fancy_regex_here, '') # => "C:\Program Files"
Thanks in advance for any help