Exact name replacement

Hi, I'm having trouble finding a way to replace an exact word. Let's say I want to replace the exact word "rent" with the word "rant" in a file name, the AR replaces any word that contains the word "rent".

eg: text to be replace: rent
replace with: rant

file name: Transparent 01.jpg
replaced name: Transparant 01.jpg

In this case, I want the AR to ignore the word transparent as it is not the specified word I want to replace. How do I do this?
Reply to #1:
Check the "Use regular expressions" box.

Then for the "Text to be replaced" use:
\brent\b (no spaces)

Keep the replace-with field as rant

Refer to JavaScript regex guides, the `\b` specifies any kind of word boundary.
Reply to #2:
thank you! works like a charm.
OR you can use IF statement

replace: rent
replace with: rant

IF > Apply condition > Match: Contains > Pattern: Transparent > Not matching: Checked

Example screenshot: https://ibb.co/6RJHgzkv