<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1042425" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1042425</link>
    <description></description>
    <language>en</language>
          <item>
    <title>Sorry for the triple</title>
    <link>https://www.webmaster-forums.net/web-programming-and-application-development/regular-expressions-problem-parenthesis-string#comment-1235749</link>
    <description> &lt;blockquote&gt;&lt;p&gt;Sorry for the triple post&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Post as much as you want if you have a solution. &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;  I was talking to kazimmerman earlier over IM, and he helped me get close, but I think this one will work.  I copied it into your tool, and sure enough, it goes green.  Thanks so much for the help. &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Wed, 03 Dec 2008 15:16:29 +0000</pubDate>
 <dc:creator>pr0gr4mm3r</dc:creator>
 <guid isPermaLink="false">comment 1235749 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Ooooh, try this one</title>
    <link>https://www.webmaster-forums.net/web-programming-and-application-development/regular-expressions-problem-parenthesis-string#comment-1235733</link>
    <description> &lt;p&gt;Ooooh, try this one PCRE:&lt;/p&gt;
&lt;p&gt;/&lt;strong&gt;\(?&lt;/strong&gt;[0-9]{3,4} AM|PM [A-Z]{3,4}&lt;strong&gt;\)?&lt;/strong&gt; ([A-Z]{3,4} ){2}[0-9]{1,2} [0-9]{4}/&lt;/p&gt;
&lt;p&gt;That is your first regex, except it allows for 0 or 1 opening and closing parenthesis.&lt;/p&gt;
&lt;p&gt;Sorry for the triple post &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Wed, 03 Dec 2008 04:19:00 +0000</pubDate>
 <dc:creator>teammatt3</dc:creator>
 <guid isPermaLink="false">comment 1235733 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>I don&#039;t think you&#039;re</title>
    <link>https://www.webmaster-forums.net/web-programming-and-application-development/regular-expressions-problem-parenthesis-string#comment-1235732</link>
    <description> &lt;p&gt;I don&#039;t think you&#039;re escaping the ) wrong, because when you replace that with some random letter, it still won&#039;t match it&lt;/p&gt;
&lt;p&gt;/[0-9]{3,4} AM|PM [A-Z]{3,4} (\([0-9]{3,4} AM|PM [A-Z]{3,4}&lt;strong&gt;K&lt;/strong&gt; )?([A-Z]{3,4} ){2}[0-9]{1,2} [0-9]{4}/&lt;/p&gt;
&lt;p&gt;Should match (it doesn&#039;t):&lt;/p&gt;
&lt;p&gt;928 PM EST (828 PM CSTT&lt;strong&gt;K&lt;/strong&gt; MON DEC 1 2008&lt;/p&gt;
&lt;p&gt;So I don&#039;t think the problem is with the escaping.&lt;/p&gt;
 </description>
     <pubDate>Wed, 03 Dec 2008 04:03:00 +0000</pubDate>
 <dc:creator>teammatt3</dc:creator>
 <guid isPermaLink="false">comment 1235732 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Will you take a</title>
    <link>https://www.webmaster-forums.net/web-programming-and-application-development/regular-expressions-problem-parenthesis-string#comment-1235731</link>
    <description> &lt;p&gt;Will you take a POSIX?&lt;/p&gt;
&lt;p&gt;([0-9]{3,4} (AM)|(PM) [A-Z]{3,4} ([A-Z]{3,4} ){2}[0-9]{1,2} [0-9]{4})&lt;strong&gt;|&lt;/strong&gt;([0-9]{3,4} (AM)|(PM) [A-Z]{3,4} \([0-9]{3,4} (AM)|(PM) [A-Z]{3,4}\) ([A-Z]{3,4} ){2}[0-9]{1,2} [0-9]{4})&lt;/p&gt;
&lt;p&gt;I took your first regex which worked for the first match, and then I made another regex that matched the second example, and combined them with an |&lt;/p&gt;
 </description>
     <pubDate>Wed, 03 Dec 2008 03:37:00 +0000</pubDate>
 <dc:creator>teammatt3</dc:creator>
 <guid isPermaLink="false">comment 1235731 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>The date string I posted is</title>
    <link>https://www.webmaster-forums.net/web-programming-and-application-development/regular-expressions-problem-parenthesis-string#comment-1235725</link>
    <description> &lt;p&gt;The date string I posted is what I&#039;m trying to extract from a larger block of text.  I&#039;m extracting the date string from NWS&#039;s Zone Forecast Product.  Here are &lt;a href=&quot;http://www.weather.gov/data/LOT/ZFPLOT&quot;&gt;two&lt;/a&gt; &lt;a href=&quot;http://www.weather.gov/data/LMK/ZFPLMK&quot;&gt;stations&lt;/a&gt; as an example.  Those pages I linked are for entire stations, so you see several forecasts for the zones within that station coverage area.  I have a regular expression to parse the zones ok, but it&#039;s the dates that I can&#039;t seem to isolate.  I have to get a regular expression match on this so I know what the updated date/time is on it.&lt;/p&gt;
&lt;p&gt;The main issue I&#039;m having with this specific one is that I can&#039;t get a parenthesis to work in the expression.  Is there something I have to do besides escaping it with a &#039;\&#039;?&lt;/p&gt;
 </description>
     <pubDate>Wed, 03 Dec 2008 01:17:04 +0000</pubDate>
 <dc:creator>pr0gr4mm3r</dc:creator>
 <guid isPermaLink="false">comment 1235725 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>I can&#039;t help much, but is</title>
    <link>https://www.webmaster-forums.net/web-programming-and-application-development/regular-expressions-problem-parenthesis-string#comment-1235724</link>
    <description> &lt;p&gt;I can&#039;t help much, but is there any reason you don&#039;t want to do this with string functions?&lt;/p&gt;
&lt;p&gt;You could explode the string on the space, and check each chunk. Regular expressions are so hard to maintain, and you can never really tell if they really get the job done, securely.&lt;/p&gt;
&lt;p&gt;Good luck with that, and post your final result &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Wed, 03 Dec 2008 00:55:57 +0000</pubDate>
 <dc:creator>teammatt3</dc:creator>
 <guid isPermaLink="false">comment 1235724 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
