<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Comments on snippet: 'Regular Expression to Separate the Anchor Part of a URL'</title>
    <description>Snipplr comments feed</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Sat, 18 Apr 2026 15:15:09 +0000</lastBuildDate>
    <item>
      <title>AlyssaLauren8293 said on 26/Dec/2022</title>
      <link>https://snipplr.com/view/1089/regular-expression-to-separate-the-anchor-part-of-a-url</link>
      <description>&lt;p&gt;"A regular expression can be used to split the anchor part of a URL into its constituent parts. The anchor part of a URL is the part after the # symbol. For example, in the URL &lt;a href="https://www.luminartechnolab.com"&gt;ReactJS training in kochi&lt;/a&gt; http://example.com/page.html#anchor, the anchor is ""anchor"". The regular expression to split the anchor part of a URL into its constituent parts is: #([^#]+) This regular expression matches the # character, followed by one or more characters that are not # characters (the anchor). The captured match is the part of the URL after the # symbol. "&lt;/p&gt;</description>
      <pubDate>Mon, 26 Dec 2022 14:25:42 UTC</pubDate>
      <guid>https://snipplr.com/view/1089/regular-expression-to-separate-the-anchor-part-of-a-url</guid>
    </item>
    <item>
      <title>Muzikkon5630 said on 21/Nov/2025</title>
      <link>https://snipplr.com/view/1089/regular-expression-to-separate-the-anchor-part-of-a-url</link>
      <description>&lt;p&gt;Using a regular expression to separate the anchor part of a URL is pretty straightforward—just look for the # symbol and capture everything that follows it. It’s a clean way to handle in-page navigation links. Almost as precise as tuning a [Lute instrument](https://www.muzikkon.com/pages/lute) to hit the perfect note!&lt;/p&gt;</description>
      <pubDate>Fri, 21 Nov 2025 04:19:47 UTC</pubDate>
      <guid>https://snipplr.com/view/1089/regular-expression-to-separate-the-anchor-part-of-a-url</guid>
    </item>
  </channel>
</rss>
