• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

[Help] Template modification using regex


Well-known member
Hello, i'm trying to replace some content with regex but i can't make it work properly, template name "thread_list_items", this is the text i need to select:

<div class="posterDate muted">
                    <xen:username user="$thread" title="{xen:phrase thread_starter}" rich="true" /><span class="startDate">,
                    <a{xen:if {$visitor.user_id}, ' href="{xen:link threads, $thread}"'} class="faint"><xen:datetime time="$thread.post_date" title="{xen:if {$visitor.user_id}, '{xen:phrase go_to_first_message_in_thread}'}" /></a></span><xen:if is="{$showForumLink}"><span class="containerName">,
                    <a href="{xen:link forums, $thread.forum}" class="forumLink">{$thread.forum.title}</a></span></xen:if>

                    <xen:if is="{$showLastPageNumbers} AND {$thread.lastPageNumbers}">
                        <span class="itemPageNav">
                            <xen:foreach loop="$thread.lastPageNumbers" value="$pageNumber">
                                <a href="{xen:link threads, $thread, 'page={$pageNumber}'}">{$pageNumber}</a>

Thanks in advance.