Add an expression inside button widgets

I have lots of button widgets and I want to add a line to show a user field value just before the closing button tag. I can of course add the line manually but I have several instances, can this be done programmatically?

Use Tiddler Comander. Look for SNR tab: search and replace.
First filter all tiddlers contain that button
Then in SNR enter the search text and then the replace text.

IMPORTANT NOTE: Backup the wiki before the operation.

Thank you Mohammad, I achieved what I wanted eventually but I did have a problem searching and replacing where the pipe character was involved.

You can escape special characters. It actually uses regex pattern.

Thanks, it’s a very usefull plugin

Mohammad, Is there a way to add the contents of a field to its title i.e. suffix?