Search and replace in field content

Sometimes we need to tweak work item content based on replacement rules.

You can do this globally or for individual fields in your template as shown below.

Template

Given the following template

{{#workItems}}


**Single replacement**

{{{ field 'Description' replace='/people/PEOPLE/' }}}

**Replacement with global flag**

{{{ field 'Description' replace='/to/2/g' }}}

**Replacement using capturing group**

{{{ field 'Description' replace='/(DevOps)/$1 🚀/' }}}


{{/workItems}}

Work items

Given these work items were added

Id Description
100 DevOps is the union of people, process, and products to enable continuous delivery of value to our end users

Result

Bravo Notes generates the document like this:

Single replacement

DevOps is the union of PEOPLE, process, and products to enable continuous delivery of value to our end users

Replacement with global flag

DevOps is the union of people, process, and products 2 enable continuous delivery of value 2 our end users

Replacement using capturing group

DevOps 🚀 is the union of people, process, and products to enable continuous delivery of value to our end users

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us