```
 if (replaceSpaces)
 {
      seriesTitlePattern = "{Series.Title}" + separator;
 }
else
{
     seriesTitlePattern = "{Series Title}" + separator;
}
```