ちょっとメモだけでも

http://xfield.info/modules/tautech/content0097.html

function wordcheck($val,$word){
ツꀀreturn preg_match($word,$val);
}

<!–{if $kikakuprice02[cnt].name|wordcheck:”/パレット/”}–>palet1<!–{else}–>palet2<!–{/if}–>