Regular expressions for spanning tags

I have a series of icons displayed in CT as <iaf: 18> (or any other number) surrounded by tags. I'm trying to use some regex for this in the non-translatables list, but all I can get is <iaf:, so I have to insert the first tag, then <iaf:, then the number, and finally the last tag…

Any idea how I could get the full thing (<iaf: 18>, or <iaf: 17>, and so on)….?

1.png

If you wish to use a regular expression in the placeables list, please precede the reg. ex. with the pipe character |

|(<[/]*[^<>]*>)++

should catch the tags including the adjacent formatting tags in your example.

With this regular expressions in your list of non-translatables, the text above now looks like this:

2.png

and:

3.png

Note that you can easily insert non-translatables like these with the F4 key.

To capture this:

z.png

Use this:

|\[.+?\]

To ignore a line in the file with non-translatables, please put the # character in front of the line to skip.

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License