<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1049788" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1049788</link>
    <description></description>
    <language>en</language>
          <item>
    <title>You should be able to replace</title>
    <link>https://www.webmaster-forums.net/web-programming-and-application-development/uk-postcode-check-regex#comment-1264215</link>
    <description> &lt;p&gt;You should be able to replace the bold portion of the regex you gave with the following:&lt;/p&gt;
&lt;p&gt;( ?)&lt;/p&gt;
&lt;p&gt;This will have it let the space be optional.&lt;/p&gt;
&lt;p&gt;A great tool I use for these is regex buddy. Until I bought (yeah, the B word, but well worth it), I used to have to look up anything but very basic expressions.&lt;/p&gt;
 </description>
     <pubDate>Sat, 23 Apr 2011 22:25:19 +0000</pubDate>
 <dc:creator>Greg K</dc:creator>
 <guid isPermaLink="false">comment 1264215 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>That is the part of the regex</title>
    <link>https://www.webmaster-forums.net/web-programming-and-application-development/uk-postcode-check-regex#comment-1264214</link>
    <description> &lt;p&gt;That is the part of the regex that checks for the space, but I&#039;m pretty sure that if you remove the space, it&#039;s more than just taking that out.&lt;/p&gt;
&lt;p&gt;I&#039;m not familiar with UK postal codes.  Can you describe in words what is being validated?&lt;/p&gt;
&lt;p&gt;Also, try playing around with it here: &lt;a href=&quot;http://regjex.com/&quot; title=&quot;http://regjex.com/&quot;&gt;http://regjex.com/&lt;/a&gt; .  I have found that tool helpful.&lt;/p&gt;
 </description>
     <pubDate>Sat, 23 Apr 2011 15:02:15 +0000</pubDate>
 <dc:creator>pr0gr4mm3r</dc:creator>
 <guid isPermaLink="false">comment 1264214 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
