<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Snipplr</title>
    <description>Recent snippets posted on Snipplr.com</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Wed, 10 Jun 2026 11:46:33 +0000</lastBuildDate>
    <item>
      <title>(Regular Expression) Match text between asterisks - inko9nito</title>
      <link>https://snipplr.com/view/46419/match-text-between-asterisks</link>
      <description>&lt;p&gt;Matches text between each pair of asterisks (see URL above for demo) &#13;
&#13;
&#13;
  &#13;
  &#13;
**Example:**&#13;
&#13;
Make text between asterisks bold, like in Textile (in Ruby):&#13;
&#13;
`test.gsub(/(\*)+([^.*?$]+)+(\*)/, '&lt;strong&gt;\\2&lt;/strong&gt;')`&lt;/p&gt;</description>
      <pubDate>Mon, 03 Jan 2011 12:47:36 UTC</pubDate>
      <guid>https://snipplr.com/view/46419/match-text-between-asterisks</guid>
    </item>
  </channel>
</rss>
