Insert number currently at end of filename, into beginning?

I have a lot of mp3s that are all named in this pattern:

Examplefilename episode (number) .mp3

ETA there are no brackets in the actual file names

With “example file name” being any number of different phrases, and the “episode” followed by the number that should be in the “track number” metadata. There is nothing in the “track number” metadata field.

At the moment, the files play out of order as they get sorted alphabetically according to whatever the text in the “Examplefilenam” is. I’d like to take that number after “episode” and place it at the beginning of the filename, and also, if possible, insert it in the “track number” metadata for each track.

So for example, the following filename:

The quick brown fox Episode 1.mp3

should be renamed something like

001 The quick brown fox.mp3 with “1” in the track number metadata

Is this possible?

I see now 2 patterns in the filenames:
one with brackets, the other without.
Each would need a different treatment.
So: how do the filenames really look like?

Wouldn't it be easiest to import the track number first into TRACK and then rename the files?

Could get the data into the tag fields with Convert>Filename-Tag
Format string: %title% Episode %track%

Could be treated with Convert>Filename-Tag
Format string: %title% episode (%track%)

Thank you, let me try this. Sorry I should have clarified, the actual filenames don’t have brackets.

That's one of the reasons why we strongly prefer REAL filenames and multiple examples to identify a pattern.

Fair enough!
Here are some actual file names:

Where the River Goes Critical Role Campaign 2, Episode 15
Well Beneath Critical Role Campaign 2, Episode 54
Whispers of War Critical Role Campaign 2, Episode 18
With Great Power... Critical Role Campaign 2, Episode 94
Within the Nest Critical Role Campaign 2, Episode 28

I just randomly chose a bunch that start with “w” as my file explorer lists them alphabetically but they start with all kinds of different letters.

After you have filled the tag fields, try Convert>Tag-Filename
Format string: $num(%track%,3) %title%

The tag fields can be filled with the suggestion here:

Thanks to your real filenames, you can try:

Thank you yes I just saw that. I’m trying this out now, and it seems to be working.

Thank you! That is very helpful.