Moving "The" to the end


I've tried to search how to deal with this, but I'm already working with a tag to filename string that does what I expect on all my files. But now I want to add this feature to the string but can't figure out how to deal with it.

My string is:


but I want it to also take The Rolling Stones and make it Rolling Stones, The

Is there a way to integrate this into this?

I'm stuck and not sure how to do with without corrupting the string. I read the (The.)+ in the regular expression threads sticky, but it just corrupted my string.

Any ideas?



Found my answer on post 14/15