Regular Expressions 101

Community Patterns

XenForo Add version Number to Footer

0

Regular Expression
PCRE (PHP <7.3)

/
\h*<xen:if is="{\$debugMode}"> \h*<xen:if hascontent="true"> \h*<dl class="pairsInline debugInfo".*?> (\h*)<xen:contentcheck>
/

Description

If using XenForo create a TMS (template adaption) for 'footer', select RegExp and enter this. Possibly you have to replace the \n in the substitution with real new lines so just press enter there.

Submitted by rugk - 9 years ago