Seperator replacement function working!

1 more to go!!