Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Yes, you can use the regex module to insert some text. Some examples:</p> <h2>Simple insert</h2> <p>If your title is <em>AAACCC</em> and you want to insert <em>BBB</em> to get <em>AAABBBCCC</em>,</p> <p>replace</p> <blockquote> <p>AC</p> </blockquote> <p>with</p> <blockquote> <p>ABBBC</p> </blockquote> <h2>Simple append</h2> <p>If your title is <em>AAACCC</em> and you want to append <em>BBB</em> to get <em>AAACCCBBB</em>,</p> <p>replace</p> <blockquote> <p>$</p> </blockquote> <p>with</p> <blockquote> <p>BBB</p> </blockquote> <h2>Insert with capturing groups</h2> <p>For more complicated cases you can use capturing groups. For example suppose your title consists of some letters at the beginning and some digits at the end, like <em>Oct2009</em>. And you want to seperate the letters and numbers with a slash, like <em>Oct - 2009</em></p> <p>replace</p> <blockquote> <p>([a-zA-Z]+)([0-9]+)</p> </blockquote> <p>with</p> <blockquote> <p>$1 - $2</p> </blockquote> <p>Where $1 is the match of the first pair of brackets () and $2 is the match of the second pair of brackets ().</p> <h2>Insert other feed attributes</h2> <p>Suppose your feed items have an attribute author and you want to append <em>by Authorname</em> to the title of your feed,</p> <p>replace</p> <blockquote> <p>$</p> </blockquote> <p>with</p> <blockquote> <p>by ${author}</p> </blockquote> <p>For an item with an attribute title=<em>Interesting Text</em> and author=<em>John Doe</em> this will result in title=<em>Interesting Text by John Doe</em></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload