Text template filler

This is a simple tool for filling a text template with a list of values.

If you haven't used this tool before, there is an example below.

Template

Enter your template to be filled below. This needs the 'placeholder' set above, and needs the same amount of 'placeholders' as the number of values below.

Find and replace in template

This will replace all of the 'Find' text with the 'Replace with' text in the template below.

Repeat text in template

This will repeat your line of text until the number of placeholders matches the number of values.

Current number of placeholders: {{numPlaceholders}}

Values

Type in your values, separated by the 'value separator' above (a comma by default).

Note! If your values contain commas, you will need to change the 'value separator' above to something like a | character.

Current number of values: {{numValues}}

Load and save your settings

Saved configurations

  • Current:

No saved configs found. To save your settings as they are now, type a name below and click 'save'. Then they will be here when you come back.

Add a new configuration

Import and export configurations

To export your settings: click 'Export' and then copy the text from the text box and save it in a text file.

To import your settings: paste your settings into the box and click 'Import'.

Output

The output will automatically update as you adjust the template and values.

Warning: There are more placeholders ({{numPlaceholders}}) than values ({{numValues}}). This means there will be some placeholders in the output.

Error: There are too many values ({{numValues}}) compared to the number of placeholders ({{numPlaceholders}}). Make sure that the number of values is the same as the number of placeholders in the template.