Will there only be two dots or an arbitrary number of them? If only two dots, you can try matching filenames ending in a dot (the other dot plus the text after it is the extension). You can use a custom attribute to match the text up to the dot then use that attribute in a Rename action.