remove_html_tags

NAML documentation   Watch a video
   Usages of this macro
... in utilities.naml
1039
1040
1041
1042
1043
1044
<macro name="remove_html_tags" dot_parameter="text">
    <n.set_var
Binary
Namespace: BasicNamespace
Parameters: name, value
. name='tag_regex'><n.lt
Binary
Namespace: BasicNamespace
/>[^<n.gt
Binary
Namespace: BasicNamespace
/>]*<n.gt
Binary
Namespace: BasicNamespace
/></n.set_var.>
    <n.regex_replace_all
Binary
Namespace: BasicNamespace
Parameters: pattern, text, replacement
. pattern="[n.var
Binary
Namespace: BasicNamespace
Parameters: name
 name='tag_regex'/]" replacement="">
        <n.text/>
    </n.regex_replace_all.>
</macro>