I'm trying to remove "FC", "AFC" or "London" if a string includes those strings. I have tried:
  $scope.teamName = function(url) {
            return url.replace('AFC'|'London'|'FC', '');
        }; 
String could be for example "Arsenal London FC".
Doesn't work though :(