Code that I included in Script Component can be seen in snapshot.
string garbagelist = Variables.BadWordsList;
Row.SCName = Regex.Replace(Row.Name, garbagelist, "", RegexOptions.IgnoreCase);
Final Output :
Add Multicast Transformation in Data Flow task and Connect Script Task to it( We are using Multicast here just for testing). Add Data Viewer between Script Component and Multicast to see the results.