I have a set of vendor names that all have *FLC at the end of them by design to differentiate the way their AP process is handled from all other vendors. I need to run a repository search inside a workflow using the vendor token, but the files it will be looking for do not have the *FLC at the end of their names. For this reason, I need a regular expression (or something else) that will work to remove the *FLC from the end of the vendor name token. It is separated from the vendor name by a space as well.
Example: Sample Vendor *FLC
Folder name I will be locating in the search: Sample Vendor
I've tried a few things, but can't figure this out. We are running Laserfiche 10.1, and Workflow 10. Any help would be appreciated.