* Graham * Waplocus
<xt:include file="/FOLDER/C*.txt" />
You can also use a range or other regex (must have at least one * in the expression)
This will include files that start with B or C as long as it is not followed by an a
<xt:include file="/FOLDER/[B-C][^a]*.txt" />
Or if it is from a get variable set by a link or form
<xt:include file="/FOLDER/{_$var|default}*.txt" />
or a xtscript variable
<xt:include file="/FOLDER/{_$$var|default}*.txt" />
You can also mix them
This will include files that start with B or C as long as it is not followed by the value set in the variable
<xt:include file="/FOLDER/[B-C][^{_$var|default}]*.txt" />
2016-07-21 00:09 (edited 2016-07-21 00:43 by Graham ) · (0)

Online: Guests: 2