Search and replace multiple property values in resource bundle

已回答

Hi,

 

With this post I would like to ask a question.

I need to find and replace words which are located in multiple resource bundles.
The words are located in the property values, as well as in the property name.

How do I search and replace a word, ONLY located in the property value fields and not in the property name?
How do I search and replace multiple occurrences in a single action, in multiple resource bundle files / resource bundles?

Thanks

 

 

0

Hello Tim,

You could use "Replace in Path" action, set "=<property_value>" as a search template and set file mask to "*.properties"

 

0

Thank you for your feedback.

Using "=Bike" works fine, but "=*Bike*" does not.
How do I use wildcards?

Thanks

 

0

Tim,

Have you checked "Regex" option in "Replace in Path" dialog?

0

请先登录再写评论。