Conditions:
- it has to be between
<tag>
and</tag>
- between those tags, it has to have both
<b>
and{1}
Placement of <b>
and {1}
is random (but it's always between 2 tags).
If conditions are met, select only <b>
.
I'm spending half day for that, and can't get it working, haha. Working on regex101.
This is example:
<tag><b>{1}test</tag>
<tag><b>test</tag>
As far as my knowledge goes, the rough concept is:
(?! ( (condition1)|(condition2) ) (select word) )
Meaning both condition1 and condition2 have to be met to select (select word). Is there something wrong..?
EDIT: Practical sample, from game files:
<Entry>
<DefaultText><line-height=100%>{0}% Damage and Healing, {1} <link="glossary://GlossaryEntry_Fortitude"><b>Fortitude</b><space=0.7em><#f9d968><sprite="Inline" name="cs_fortitude" tint=1></color></link></line-height></DefaultText>
</Entry>