<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Perl script search &#124; Perl programming &#124; Perl Tutorial&#187; regular expression perl</title>
	<atom:link href="http://www.perlscriptsearch.com/category/perl-script/regular-expression-perl-perl-script/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.perlscriptsearch.com</link>
	<description></description>
	<lastBuildDate>Mon, 06 Jun 2011 13:22:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>perl expression statement?</title>
		<link>http://www.perlscriptsearch.com/perl-script/regular-expression-perl-perl-script/perl-expression-statement/</link>
		<comments>http://www.perlscriptsearch.com/perl-script/regular-expression-perl-perl-script/perl-expression-statement/#comments</comments>
		<pubDate>Mon, 26 Apr 2010 00:10:55 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[regular expression perl]]></category>
		<category><![CDATA[delimiters]]></category>
		<category><![CDATA[ela]]></category>
		<category><![CDATA[expression]]></category>
		<category><![CDATA[fly]]></category>
		<category><![CDATA[hello world]]></category>
		<category><![CDATA[nam]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[oracle trace]]></category>
		<category><![CDATA[regular expressions]]></category>

		<guid isPermaLink="false">http://www.perlscriptsearch.com/perl-script/regular-expression-perl-perl-script/perl-expression-statement/</guid>
		<description><![CDATA[I&#8217;m teaching myself perl on the fly, and I can&#8217;t find any good documentation on regular expressions and delimiters that don&#8217;t involve &#34;Hello World.&#34; Can you help me decipher what this expression is doing? if (/^WAIT #(\d+): nam=&#8217;([^']*)&#8217; ela=\s*(\d+)/i) the input is a oracle trace file, and this line is looking for lines anchored with [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m teaching myself perl on the fly, and I can&#8217;t find any good documentation on regular expressions and delimiters that don&#8217;t involve &quot;Hello World.&quot;</p>
<p>Can you help me decipher what this expression is doing?</p>
<p>if (/^WAIT #(\d+): nam=&#8217;([^']*)&#8217; ela=\s*(\d+)/i) </p>
<p>the input is a oracle trace file, and this line is looking for lines anchored with WAIT.  But I&#8217;m not following the rest of the line<br />
is there a way to make WAIT = ?</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a title="Click me to see the sites." href="#" onclick="$$('div.d572').each( function(e) { e.visualEffect('slide_down',{duration:2.5}) }); return false;"><strong><em>Bookmark It</em></strong></a>
<br />
<div class="d572" style="overflow:hidden">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://buzz.yahoo.com/submit?submitUrl=http%3A%2F%2Fwww.perlscriptsearch.com%2Fperl-script%2Fregular-expression-perl-perl-script%2Fperl-expression-statement%2F&amp;submitHeadline=perl+expression+statement%3F&amp;submitSummary=" rel="nofollow" title="Add to&nbsp;Buzz"><img class="social_img" src="http://www.perlscriptsearch.com/wp-content/plugins/social-bookmarks/images/buzz.png" title="Add to&nbsp;Buzz" alt="Add to&nbsp;Buzz" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http%3A%2F%2Fwww.perlscriptsearch.com%2Fperl-script%2Fregular-expression-perl-perl-script%2Fperl-expression-statement%2F&amp;title=perl+expression+statement%3F" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://www.perlscriptsearch.com/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.perlscriptsearch.com%2Fperl-script%2Fregular-expression-perl-perl-script%2Fperl-expression-statement%2F&amp;title=perl+expression+statement%3F" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://www.perlscriptsearch.com/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fwww.perlscriptsearch.com%2Fperl-script%2Fregular-expression-perl-perl-script%2Fperl-expression-statement%2F" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://www.perlscriptsearch.com/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fwww.perlscriptsearch.com%2Fperl-script%2Fregular-expression-perl-perl-script%2Fperl-expression-statement%2F&amp;title=perl+expression+statement%3F" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://www.perlscriptsearch.com/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.mister-wong.com/index.php?action=addurl&amp;bm_url=http%3A%2F%2Fwww.perlscriptsearch.com%2Fperl-script%2Fregular-expression-perl-perl-script%2Fperl-expression-statement%2F&amp;bm_description=perl+expression+statement%3F" rel="nofollow" title="Add to&nbsp;Mister Wong"><img class="social_img" src="http://www.perlscriptsearch.com/wp-content/plugins/social-bookmarks/images/misterwong.png" title="Add to&nbsp;Mister Wong" alt="Add to&nbsp;Mister Wong" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.netscape.com/submit/?U=http%3A%2F%2Fwww.perlscriptsearch.com%2Fperl-script%2Fregular-expression-perl-perl-script%2Fperl-expression-statement%2F&amp;T=perl+expression+statement%3F" rel="nofollow" title="Add to&nbsp;Netscape"><img class="social_img" src="http://www.perlscriptsearch.com/wp-content/plugins/social-bookmarks/images/netscape.png" title="Add to&nbsp;Netscape" alt="Add to&nbsp;Netscape" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http%3A%2F%2Fwww.perlscriptsearch.com%2Fperl-script%2Fregular-expression-perl-perl-script%2Fperl-expression-statement%2F&amp;title=perl+expression+statement%3F" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://www.perlscriptsearch.com/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.perlscriptsearch.com%2Fperl-script%2Fregular-expression-perl-perl-script%2Fperl-expression-statement%2F&amp;title=perl+expression+statement%3F" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://www.perlscriptsearch.com/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http%3A%2F%2Fwww.perlscriptsearch.com%2Fperl-script%2Fregular-expression-perl-perl-script%2Fperl-expression-statement%2F" rel="nofollow" title="Add to&nbsp;Technorati"><img class="social_img" src="http://www.perlscriptsearch.com/wp-content/plugins/social-bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://tipd.com/submit.php?url=http%3A%2F%2Fwww.perlscriptsearch.com%2Fperl-script%2Fregular-expression-perl-perl-script%2Fperl-expression-statement%2F" rel="nofollow" title="Add to&nbsp;Tip'd"><img class="social_img" src="http://www.perlscriptsearch.com/wp-content/plugins/social-bookmarks/images/tipd.png" title="Add to&nbsp;Tip'd" alt="Add to&nbsp;Tip'd" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+perl+expression+statement%3F+@+http%3A%2F%2Fwww.perlscriptsearch.com%2Fperl-script%2Fregular-expression-perl-perl-script%2Fperl-expression-statement%2F" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://www.perlscriptsearch.com/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fwww.perlscriptsearch.com%2Fperl-script%2Fregular-expression-perl-perl-script%2Fperl-expression-statement%2F&amp;t=perl+expression+statement%3F" rel="nofollow" title="Add to&nbsp;Yahoo My Web"><img class="social_img" src="http://www.perlscriptsearch.com/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Add to&nbsp;Yahoo My Web" alt="Add to&nbsp;Yahoo My Web" /></a>
<br />
<a style="font-size:90%;text-align: right; " title="Click me to hide the sites." href="#" onclick="$$('div.d572').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); return false;">Hide Sites</a>
</div>
</div>
<!-- Social Bookmarks END -->
<script type="text/javascript">$$('div.d572').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); </script>]]></content:encoded>
			<wfw:commentRss>http://www.perlscriptsearch.com/perl-script/regular-expression-perl-perl-script/perl-expression-statement/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Perl &#8211; Regular Expressions &#8211; $value =~ s/~!/ ~!/g;?</title>
		<link>http://www.perlscriptsearch.com/perl-script/regular-expression-perl-perl-script/perl-regular-expressions-value-s-g/</link>
		<comments>http://www.perlscriptsearch.com/perl-script/regular-expression-perl-perl-script/perl-regular-expressions-value-s-g/#comments</comments>
		<pubDate>Sat, 24 Apr 2010 20:51:54 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[regular expression perl]]></category>
		<category><![CDATA[formmail cgi script]]></category>
		<category><![CDATA[subshells]]></category>

		<guid isPermaLink="false">http://www.perlscriptsearch.com/perl-script/regular-expression-perl-perl-script/perl-regular-expressions-value-s-g/</guid>
		<description><![CDATA[This line is from the classic formmail.cgi script: $value =~ s/~!/ ~!/g; It&#8217;s to stop people from using subshells. But, does anyone know what this line is actually doing and how it&#8217;s doing it? Thanks. Bookmark It Hide Sites $$('div.d564').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) });]]></description>
			<content:encoded><![CDATA[<p>This line is from the classic formmail.cgi script:<br />
$value =~ s/~!/ ~!/g;</p>
<p>It&#8217;s to stop people from using subshells.  But, does anyone know what this line is actually doing and how it&#8217;s doing it?</p>
<p>Thanks.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a title="Click me to see the sites." href="#" onclick="$$('div.d564').each( function(e) { e.visualEffect('slide_down',{duration:2.5}) }); return false;"><strong><em>Bookmark It</em></strong></a>
<br />
<div class="d564" style="overflow:hidden">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://buzz.yahoo.com/submit?submitUrl=http%3A%2F%2Fwww.perlscriptsearch.com%2Fperl-script%2Fregular-expression-perl-perl-script%2Fperl-regular-expressions-value-s-g%2F&amp;submitHeadline=Perl+%26%238211%3B+Regular+Expressions+%26%238211%3B+%24value+%3D%7E+s%2F%7E%21%2F+%7E%21%2Fg%3B%3F&amp;submitSummary=" rel="nofollow" title="Add to&nbsp;Buzz"><img class="social_img" src="http://www.perlscriptsearch.com/wp-content/plugins/social-bookmarks/images/buzz.png" title="Add to&nbsp;Buzz" alt="Add to&nbsp;Buzz" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http%3A%2F%2Fwww.perlscriptsearch.com%2Fperl-script%2Fregular-expression-perl-perl-script%2Fperl-regular-expressions-value-s-g%2F&amp;title=Perl+%26%238211%3B+Regular+Expressions+%26%238211%3B+%24value+%3D%7E+s%2F%7E%21%2F+%7E%21%2Fg%3B%3F" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://www.perlscriptsearch.com/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.perlscriptsearch.com%2Fperl-script%2Fregular-expression-perl-perl-script%2Fperl-regular-expressions-value-s-g%2F&amp;title=Perl+%26%238211%3B+Regular+Expressions+%26%238211%3B+%24value+%3D%7E+s%2F%7E%21%2F+%7E%21%2Fg%3B%3F" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://www.perlscriptsearch.com/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fwww.perlscriptsearch.com%2Fperl-script%2Fregular-expression-perl-perl-script%2Fperl-regular-expressions-value-s-g%2F" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://www.perlscriptsearch.com/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fwww.perlscriptsearch.com%2Fperl-script%2Fregular-expression-perl-perl-script%2Fperl-regular-expressions-value-s-g%2F&amp;title=Perl+%26%238211%3B+Regular+Expressions+%26%238211%3B+%24value+%3D%7E+s%2F%7E%21%2F+%7E%21%2Fg%3B%3F" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://www.perlscriptsearch.com/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.mister-wong.com/index.php?action=addurl&amp;bm_url=http%3A%2F%2Fwww.perlscriptsearch.com%2Fperl-script%2Fregular-expression-perl-perl-script%2Fperl-regular-expressions-value-s-g%2F&amp;bm_description=Perl+%26%238211%3B+Regular+Expressions+%26%238211%3B+%24value+%3D%7E+s%2F%7E%21%2F+%7E%21%2Fg%3B%3F" rel="nofollow" title="Add to&nbsp;Mister Wong"><img class="social_img" src="http://www.perlscriptsearch.com/wp-content/plugins/social-bookmarks/images/misterwong.png" title="Add to&nbsp;Mister Wong" alt="Add to&nbsp;Mister Wong" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.netscape.com/submit/?U=http%3A%2F%2Fwww.perlscriptsearch.com%2Fperl-script%2Fregular-expression-perl-perl-script%2Fperl-regular-expressions-value-s-g%2F&amp;T=Perl+%26%238211%3B+Regular+Expressions+%26%238211%3B+%24value+%3D%7E+s%2F%7E%21%2F+%7E%21%2Fg%3B%3F" rel="nofollow" title="Add to&nbsp;Netscape"><img class="social_img" src="http://www.perlscriptsearch.com/wp-content/plugins/social-bookmarks/images/netscape.png" title="Add to&nbsp;Netscape" alt="Add to&nbsp;Netscape" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http%3A%2F%2Fwww.perlscriptsearch.com%2Fperl-script%2Fregular-expression-perl-perl-script%2Fperl-regular-expressions-value-s-g%2F&amp;title=Perl+%26%238211%3B+Regular+Expressions+%26%238211%3B+%24value+%3D%7E+s%2F%7E%21%2F+%7E%21%2Fg%3B%3F" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://www.perlscriptsearch.com/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.perlscriptsearch.com%2Fperl-script%2Fregular-expression-perl-perl-script%2Fperl-regular-expressions-value-s-g%2F&amp;title=Perl+%26%238211%3B+Regular+Expressions+%26%238211%3B+%24value+%3D%7E+s%2F%7E%21%2F+%7E%21%2Fg%3B%3F" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://www.perlscriptsearch.com/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http%3A%2F%2Fwww.perlscriptsearch.com%2Fperl-script%2Fregular-expression-perl-perl-script%2Fperl-regular-expressions-value-s-g%2F" rel="nofollow" title="Add to&nbsp;Technorati"><img class="social_img" src="http://www.perlscriptsearch.com/wp-content/plugins/social-bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://tipd.com/submit.php?url=http%3A%2F%2Fwww.perlscriptsearch.com%2Fperl-script%2Fregular-expression-perl-perl-script%2Fperl-regular-expressions-value-s-g%2F" rel="nofollow" title="Add to&nbsp;Tip'd"><img class="social_img" src="http://www.perlscriptsearch.com/wp-content/plugins/social-bookmarks/images/tipd.png" title="Add to&nbsp;Tip'd" alt="Add to&nbsp;Tip'd" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+Perl+%26%238211%3B+Regular+Expressions+%26%238211%3B+%24value+%3D%7E+s%2F%7E%21%2F+%7E%21%2Fg%3B%3F+@+http%3A%2F%2Fwww.perlscriptsearch.com%2Fperl-script%2Fregular-expression-perl-perl-script%2Fperl-regular-expressions-value-s-g%2F" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://www.perlscriptsearch.com/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fwww.perlscriptsearch.com%2Fperl-script%2Fregular-expression-perl-perl-script%2Fperl-regular-expressions-value-s-g%2F&amp;t=Perl+%26%238211%3B+Regular+Expressions+%26%238211%3B+%24value+%3D%7E+s%2F%7E%21%2F+%7E%21%2Fg%3B%3F" rel="nofollow" title="Add to&nbsp;Yahoo My Web"><img class="social_img" src="http://www.perlscriptsearch.com/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Add to&nbsp;Yahoo My Web" alt="Add to&nbsp;Yahoo My Web" /></a>
<br />
<a style="font-size:90%;text-align: right; " title="Click me to hide the sites." href="#" onclick="$$('div.d564').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); return false;">Hide Sites</a>
</div>
</div>
<!-- Social Bookmarks END -->
<script type="text/javascript">$$('div.d564').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); </script>]]></content:encoded>
			<wfw:commentRss>http://www.perlscriptsearch.com/perl-script/regular-expression-perl-perl-script/perl-regular-expressions-value-s-g/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Extracting data in Perl with regular expressions&#8230;?</title>
		<link>http://www.perlscriptsearch.com/perl-script/regular-expression-perl-perl-script/extracting-data-in-perl-with-regular-expressions/</link>
		<comments>http://www.perlscriptsearch.com/perl-script/regular-expression-perl-perl-script/extracting-data-in-perl-with-regular-expressions/#comments</comments>
		<pubDate>Fri, 23 Apr 2010 22:33:13 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[regular expression perl]]></category>
		<category><![CDATA[latitude and longitude]]></category>
		<category><![CDATA[latitude longitude]]></category>
		<category><![CDATA[ntime]]></category>
		<category><![CDATA[regular expression]]></category>
		<category><![CDATA[sgf]]></category>
		<category><![CDATA[weather]]></category>

		<guid isPermaLink="false">http://www.perlscriptsearch.com/perl-script/regular-expression-perl-perl-script/extracting-data-in-perl-with-regular-expressions/</guid>
		<description><![CDATA[I am trying to read all latitude and longitude values from NWS warning files like this: http://www.weather.gov/data/SGF/SVRSGF The latitude/longitude values always appear at the bottom of the warning, between &#34;LON&#34; and &#34;TIME&#34;. I had been using the regular expression: $stwarn =~ m/LON(.*)\nTIME/ but it doesn&#8217;t seem to work for all warnings. Can anyone offer any [...]]]></description>
			<content:encoded><![CDATA[<p>I am trying to read all latitude and longitude values from NWS warning files like this: http://www.weather.gov/data/SGF/SVRSGF</p>
<p>The latitude/longitude values always appear at the bottom of the warning, between &quot;LON&quot; and &quot;TIME&quot;.  I had been using the regular expression: $stwarn =~ m/LON(.*)\nTIME/ but it doesn&#8217;t seem to work for all warnings. </p>
<p>Can anyone offer any better suggestions?  Thanks!</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a title="Click me to see the sites." href="#" onclick="$$('div.d555').each( function(e) { e.visualEffect('slide_down',{duration:2.5}) }); return false;"><strong><em>Bookmark It</em></strong></a>
<br />
<div class="d555" style="overflow:hidden">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://buzz.yahoo.com/submit?submitUrl=http%3A%2F%2Fwww.perlscriptsearch.com%2Fperl-script%2Fregular-expression-perl-perl-script%2Fextracting-data-in-perl-with-regular-expressions%2F&amp;submitHeadline=Extracting+data+in+Perl+with+regular+expressions%26%238230%3B%3F&amp;submitSummary=" rel="nofollow" title="Add to&nbsp;Buzz"><img class="social_img" src="http://www.perlscriptsearch.com/wp-content/plugins/social-bookmarks/images/buzz.png" title="Add to&nbsp;Buzz" alt="Add to&nbsp;Buzz" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http%3A%2F%2Fwww.perlscriptsearch.com%2Fperl-script%2Fregular-expression-perl-perl-script%2Fextracting-data-in-perl-with-regular-expressions%2F&amp;title=Extracting+data+in+Perl+with+regular+expressions%26%238230%3B%3F" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://www.perlscriptsearch.com/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.perlscriptsearch.com%2Fperl-script%2Fregular-expression-perl-perl-script%2Fextracting-data-in-perl-with-regular-expressions%2F&amp;title=Extracting+data+in+Perl+with+regular+expressions%26%238230%3B%3F" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://www.perlscriptsearch.com/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fwww.perlscriptsearch.com%2Fperl-script%2Fregular-expression-perl-perl-script%2Fextracting-data-in-perl-with-regular-expressions%2F" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://www.perlscriptsearch.com/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fwww.perlscriptsearch.com%2Fperl-script%2Fregular-expression-perl-perl-script%2Fextracting-data-in-perl-with-regular-expressions%2F&amp;title=Extracting+data+in+Perl+with+regular+expressions%26%238230%3B%3F" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://www.perlscriptsearch.com/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.mister-wong.com/index.php?action=addurl&amp;bm_url=http%3A%2F%2Fwww.perlscriptsearch.com%2Fperl-script%2Fregular-expression-perl-perl-script%2Fextracting-data-in-perl-with-regular-expressions%2F&amp;bm_description=Extracting+data+in+Perl+with+regular+expressions%26%238230%3B%3F" rel="nofollow" title="Add to&nbsp;Mister Wong"><img class="social_img" src="http://www.perlscriptsearch.com/wp-content/plugins/social-bookmarks/images/misterwong.png" title="Add to&nbsp;Mister Wong" alt="Add to&nbsp;Mister Wong" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.netscape.com/submit/?U=http%3A%2F%2Fwww.perlscriptsearch.com%2Fperl-script%2Fregular-expression-perl-perl-script%2Fextracting-data-in-perl-with-regular-expressions%2F&amp;T=Extracting+data+in+Perl+with+regular+expressions%26%238230%3B%3F" rel="nofollow" title="Add to&nbsp;Netscape"><img class="social_img" src="http://www.perlscriptsearch.com/wp-content/plugins/social-bookmarks/images/netscape.png" title="Add to&nbsp;Netscape" alt="Add to&nbsp;Netscape" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http%3A%2F%2Fwww.perlscriptsearch.com%2Fperl-script%2Fregular-expression-perl-perl-script%2Fextracting-data-in-perl-with-regular-expressions%2F&amp;title=Extracting+data+in+Perl+with+regular+expressions%26%238230%3B%3F" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://www.perlscriptsearch.com/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.perlscriptsearch.com%2Fperl-script%2Fregular-expression-perl-perl-script%2Fextracting-data-in-perl-with-regular-expressions%2F&amp;title=Extracting+data+in+Perl+with+regular+expressions%26%238230%3B%3F" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://www.perlscriptsearch.com/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http%3A%2F%2Fwww.perlscriptsearch.com%2Fperl-script%2Fregular-expression-perl-perl-script%2Fextracting-data-in-perl-with-regular-expressions%2F" rel="nofollow" title="Add to&nbsp;Technorati"><img class="social_img" src="http://www.perlscriptsearch.com/wp-content/plugins/social-bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://tipd.com/submit.php?url=http%3A%2F%2Fwww.perlscriptsearch.com%2Fperl-script%2Fregular-expression-perl-perl-script%2Fextracting-data-in-perl-with-regular-expressions%2F" rel="nofollow" title="Add to&nbsp;Tip'd"><img class="social_img" src="http://www.perlscriptsearch.com/wp-content/plugins/social-bookmarks/images/tipd.png" title="Add to&nbsp;Tip'd" alt="Add to&nbsp;Tip'd" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+Extracting+data+in+Perl+with+regular+expressions%26%238230%3B%3F+@+http%3A%2F%2Fwww.perlscriptsearch.com%2Fperl-script%2Fregular-expression-perl-perl-script%2Fextracting-data-in-perl-with-regular-expressions%2F" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://www.perlscriptsearch.com/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fwww.perlscriptsearch.com%2Fperl-script%2Fregular-expression-perl-perl-script%2Fextracting-data-in-perl-with-regular-expressions%2F&amp;t=Extracting+data+in+Perl+with+regular+expressions%26%238230%3B%3F" rel="nofollow" title="Add to&nbsp;Yahoo My Web"><img class="social_img" src="http://www.perlscriptsearch.com/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Add to&nbsp;Yahoo My Web" alt="Add to&nbsp;Yahoo My Web" /></a>
<br />
<a style="font-size:90%;text-align: right; " title="Click me to hide the sites." href="#" onclick="$$('div.d555').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); return false;">Hide Sites</a>
</div>
</div>
<!-- Social Bookmarks END -->
<script type="text/javascript">$$('div.d555').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); </script>]]></content:encoded>
			<wfw:commentRss>http://www.perlscriptsearch.com/perl-script/regular-expression-perl-perl-script/extracting-data-in-perl-with-regular-expressions/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How do I remove commas in a CSV value field with Perl regular expressions?</title>
		<link>http://www.perlscriptsearch.com/perl-script/regular-expression-perl-perl-script/how-do-i-remove-commas-in-a-csv-value-field-with-perl-regular-expressions/</link>
		<comments>http://www.perlscriptsearch.com/perl-script/regular-expression-perl-perl-script/how-do-i-remove-commas-in-a-csv-value-field-with-perl-regular-expressions/#comments</comments>
		<pubDate>Fri, 23 Apr 2010 00:21:17 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[regular expression perl]]></category>
		<category><![CDATA[comma]]></category>
		<category><![CDATA[line 1]]></category>
		<category><![CDATA[lt]]></category>
		<category><![CDATA[modified version]]></category>
		<category><![CDATA[quot quot]]></category>
		<category><![CDATA[suggestion]]></category>
		<category><![CDATA[yahoo]]></category>

		<guid isPermaLink="false">http://www.perlscriptsearch.com/perl-script/regular-expression-perl-perl-script/how-do-i-remove-commas-in-a-csv-value-field-with-perl-regular-expressions/</guid>
		<description><![CDATA[Record Line: 1,2,3,&#34;four,for&#34;,5,&#34;six,ssiixx&#34;,&#34;seven&#34; I want to remove the comma in &#34;four,for&#34; and &#34;six,ssiixx&#34;. I tried using the $myValue =~ s/&#60;regular_exp&#62;/&#60;replace_value&#62;/g but I just end up replacing the string starting from the bad field to the last instance of a comma on the record. Yahoo cut off my record string. Here it is again: 1,2,3,&#34;four,for&#34;,5,&#34;six,ssiixx&#34;,&#34;seven&#34; Once [...]]]></description>
			<content:encoded><![CDATA[<p>Record Line: </p>
<p>1,2,3,&quot;four,for&quot;,5,&quot;six,ssiixx&quot;,&quot;seven&quot;</p>
<p>I want to remove the comma in &quot;four,for&quot; and &quot;six,ssiixx&quot;.  I tried using the $myValue =~ s/&lt;regular_exp&gt;/&lt;replace_value&gt;/g but I just end up replacing the string starting from the bad field to the last instance of a comma on the record.<br />
Yahoo cut off my record string.  Here it is again: </p>
<p>1,2,3,&quot;four,for&quot;,5,&quot;six,ssiixx&quot;,&quot;seven&quot;<br />
Once again, here is the full string with comma plus spacing afterwards:</p>
<p>1, 2, 3, &quot;four, for&quot;, 5, &quot;six, ssiixx&quot;, &quot;seven&quot;<br />
I&#8217;m satisfied with raymanrevo&#8217;s answer but how do I choose &quot;Best Answer&quot;?</p>
<p>Here is a modified version of raymanrevo&#8217;s suggestion incorporating possible spacing:</p>
<p>$myValue =~ s/(&quot;[\w\ ]*),([\w\ ]*&quot;)//g;</p>
<p>Thank you raymanrevo! <img src='http://www.perlscriptsearch.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a title="Click me to see the sites." href="#" onclick="$$('div.d546').each( function(e) { e.visualEffect('slide_down',{duration:2.5}) }); return false;"><strong><em>Bookmark It</em></strong></a>
<br />
<div class="d546" style="overflow:hidden">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://buzz.yahoo.com/submit?submitUrl=http%3A%2F%2Fwww.perlscriptsearch.com%2Fperl-script%2Fregular-expression-perl-perl-script%2Fhow-do-i-remove-commas-in-a-csv-value-field-with-perl-regular-expressions%2F&amp;submitHeadline=How+do+I+remove+commas+in+a+CSV+value+field+with+Perl+regular+expressions%3F&amp;submitSummary=" rel="nofollow" title="Add to&nbsp;Buzz"><img class="social_img" src="http://www.perlscriptsearch.com/wp-content/plugins/social-bookmarks/images/buzz.png" title="Add to&nbsp;Buzz" alt="Add to&nbsp;Buzz" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http%3A%2F%2Fwww.perlscriptsearch.com%2Fperl-script%2Fregular-expression-perl-perl-script%2Fhow-do-i-remove-commas-in-a-csv-value-field-with-perl-regular-expressions%2F&amp;title=How+do+I+remove+commas+in+a+CSV+value+field+with+Perl+regular+expressions%3F" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://www.perlscriptsearch.com/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.perlscriptsearch.com%2Fperl-script%2Fregular-expression-perl-perl-script%2Fhow-do-i-remove-commas-in-a-csv-value-field-with-perl-regular-expressions%2F&amp;title=How+do+I+remove+commas+in+a+CSV+value+field+with+Perl+regular+expressions%3F" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://www.perlscriptsearch.com/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fwww.perlscriptsearch.com%2Fperl-script%2Fregular-expression-perl-perl-script%2Fhow-do-i-remove-commas-in-a-csv-value-field-with-perl-regular-expressions%2F" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://www.perlscriptsearch.com/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fwww.perlscriptsearch.com%2Fperl-script%2Fregular-expression-perl-perl-script%2Fhow-do-i-remove-commas-in-a-csv-value-field-with-perl-regular-expressions%2F&amp;title=How+do+I+remove+commas+in+a+CSV+value+field+with+Perl+regular+expressions%3F" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://www.perlscriptsearch.com/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.mister-wong.com/index.php?action=addurl&amp;bm_url=http%3A%2F%2Fwww.perlscriptsearch.com%2Fperl-script%2Fregular-expression-perl-perl-script%2Fhow-do-i-remove-commas-in-a-csv-value-field-with-perl-regular-expressions%2F&amp;bm_description=How+do+I+remove+commas+in+a+CSV+value+field+with+Perl+regular+expressions%3F" rel="nofollow" title="Add to&nbsp;Mister Wong"><img class="social_img" src="http://www.perlscriptsearch.com/wp-content/plugins/social-bookmarks/images/misterwong.png" title="Add to&nbsp;Mister Wong" alt="Add to&nbsp;Mister Wong" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.netscape.com/submit/?U=http%3A%2F%2Fwww.perlscriptsearch.com%2Fperl-script%2Fregular-expression-perl-perl-script%2Fhow-do-i-remove-commas-in-a-csv-value-field-with-perl-regular-expressions%2F&amp;T=How+do+I+remove+commas+in+a+CSV+value+field+with+Perl+regular+expressions%3F" rel="nofollow" title="Add to&nbsp;Netscape"><img class="social_img" src="http://www.perlscriptsearch.com/wp-content/plugins/social-bookmarks/images/netscape.png" title="Add to&nbsp;Netscape" alt="Add to&nbsp;Netscape" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http%3A%2F%2Fwww.perlscriptsearch.com%2Fperl-script%2Fregular-expression-perl-perl-script%2Fhow-do-i-remove-commas-in-a-csv-value-field-with-perl-regular-expressions%2F&amp;title=How+do+I+remove+commas+in+a+CSV+value+field+with+Perl+regular+expressions%3F" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://www.perlscriptsearch.com/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.perlscriptsearch.com%2Fperl-script%2Fregular-expression-perl-perl-script%2Fhow-do-i-remove-commas-in-a-csv-value-field-with-perl-regular-expressions%2F&amp;title=How+do+I+remove+commas+in+a+CSV+value+field+with+Perl+regular+expressions%3F" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://www.perlscriptsearch.com/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http%3A%2F%2Fwww.perlscriptsearch.com%2Fperl-script%2Fregular-expression-perl-perl-script%2Fhow-do-i-remove-commas-in-a-csv-value-field-with-perl-regular-expressions%2F" rel="nofollow" title="Add to&nbsp;Technorati"><img class="social_img" src="http://www.perlscriptsearch.com/wp-content/plugins/social-bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://tipd.com/submit.php?url=http%3A%2F%2Fwww.perlscriptsearch.com%2Fperl-script%2Fregular-expression-perl-perl-script%2Fhow-do-i-remove-commas-in-a-csv-value-field-with-perl-regular-expressions%2F" rel="nofollow" title="Add to&nbsp;Tip'd"><img class="social_img" src="http://www.perlscriptsearch.com/wp-content/plugins/social-bookmarks/images/tipd.png" title="Add to&nbsp;Tip'd" alt="Add to&nbsp;Tip'd" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+How+do+I+remove+commas+in+a+CSV+value+field+with+Perl+regular+expressions%3F+@+http%3A%2F%2Fwww.perlscriptsearch.com%2Fperl-script%2Fregular-expression-perl-perl-script%2Fhow-do-i-remove-commas-in-a-csv-value-field-with-perl-regular-expressions%2F" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://www.perlscriptsearch.com/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fwww.perlscriptsearch.com%2Fperl-script%2Fregular-expression-perl-perl-script%2Fhow-do-i-remove-commas-in-a-csv-value-field-with-perl-regular-expressions%2F&amp;t=How+do+I+remove+commas+in+a+CSV+value+field+with+Perl+regular+expressions%3F" rel="nofollow" title="Add to&nbsp;Yahoo My Web"><img class="social_img" src="http://www.perlscriptsearch.com/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Add to&nbsp;Yahoo My Web" alt="Add to&nbsp;Yahoo My Web" /></a>
<br />
<a style="font-size:90%;text-align: right; " title="Click me to hide the sites." href="#" onclick="$$('div.d546').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); return false;">Hide Sites</a>
</div>
</div>
<!-- Social Bookmarks END -->
<script type="text/javascript">$$('div.d546').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); </script>]]></content:encoded>
			<wfw:commentRss>http://www.perlscriptsearch.com/perl-script/regular-expression-perl-perl-script/how-do-i-remove-commas-in-a-csv-value-field-with-perl-regular-expressions/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Perl &#8211; Regular expressions?</title>
		<link>http://www.perlscriptsearch.com/perl-script/regular-expression-perl-perl-script/perl-regular-expressions/</link>
		<comments>http://www.perlscriptsearch.com/perl-script/regular-expression-perl-perl-script/perl-regular-expressions/#comments</comments>
		<pubDate>Wed, 21 Apr 2010 23:15:20 +0000</pubDate>
		<dc:creator>Admin</dc:creator>
				<category><![CDATA[regular expression perl]]></category>
		<category><![CDATA[script perl]]></category>

		<guid isPermaLink="false">http://www.perlscriptsearch.com/perl-script/regular-expression-perl-perl-script/perl-regular-expressions/</guid>
		<description><![CDATA[I am asking about is that: I want to save Regex rules in a file and from the script(perl script) I want to match URL content with the rules in the file:S Note:the file doesn&#8217;t content normal words, it content Regex rules and i want to match the URL with each regex rule saved in [...]]]></description>
			<content:encoded><![CDATA[<p>I am asking about is that:<br />
I want to save Regex rules in a file<br />
and from the script(perl script) I want to match URL content with the rules in the file:S<br />
Note:the file doesn&#8217;t content normal words, it content Regex rules<br />
and i want to match the URL with each regex rule saved in the file<br />
it&#8217;s like htaccess idea? is that possible?</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a title="Click me to see the sites." href="#" onclick="$$('div.d533').each( function(e) { e.visualEffect('slide_down',{duration:2.5}) }); return false;"><strong><em>Bookmark It</em></strong></a>
<br />
<div class="d533" style="overflow:hidden">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://buzz.yahoo.com/submit?submitUrl=http%3A%2F%2Fwww.perlscriptsearch.com%2Fperl-script%2Fregular-expression-perl-perl-script%2Fperl-regular-expressions%2F&amp;submitHeadline=Perl+%26%238211%3B+Regular+expressions%3F&amp;submitSummary=" rel="nofollow" title="Add to&nbsp;Buzz"><img class="social_img" src="http://www.perlscriptsearch.com/wp-content/plugins/social-bookmarks/images/buzz.png" title="Add to&nbsp;Buzz" alt="Add to&nbsp;Buzz" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http%3A%2F%2Fwww.perlscriptsearch.com%2Fperl-script%2Fregular-expression-perl-perl-script%2Fperl-regular-expressions%2F&amp;title=Perl+%26%238211%3B+Regular+expressions%3F" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://www.perlscriptsearch.com/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.perlscriptsearch.com%2Fperl-script%2Fregular-expression-perl-perl-script%2Fperl-regular-expressions%2F&amp;title=Perl+%26%238211%3B+Regular+expressions%3F" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://www.perlscriptsearch.com/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http%3A%2F%2Fwww.perlscriptsearch.com%2Fperl-script%2Fregular-expression-perl-perl-script%2Fperl-regular-expressions%2F" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://www.perlscriptsearch.com/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fwww.perlscriptsearch.com%2Fperl-script%2Fregular-expression-perl-perl-script%2Fperl-regular-expressions%2F&amp;title=Perl+%26%238211%3B+Regular+expressions%3F" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://www.perlscriptsearch.com/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.mister-wong.com/index.php?action=addurl&amp;bm_url=http%3A%2F%2Fwww.perlscriptsearch.com%2Fperl-script%2Fregular-expression-perl-perl-script%2Fperl-regular-expressions%2F&amp;bm_description=Perl+%26%238211%3B+Regular+expressions%3F" rel="nofollow" title="Add to&nbsp;Mister Wong"><img class="social_img" src="http://www.perlscriptsearch.com/wp-content/plugins/social-bookmarks/images/misterwong.png" title="Add to&nbsp;Mister Wong" alt="Add to&nbsp;Mister Wong" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.netscape.com/submit/?U=http%3A%2F%2Fwww.perlscriptsearch.com%2Fperl-script%2Fregular-expression-perl-perl-script%2Fperl-regular-expressions%2F&amp;T=Perl+%26%238211%3B+Regular+expressions%3F" rel="nofollow" title="Add to&nbsp;Netscape"><img class="social_img" src="http://www.perlscriptsearch.com/wp-content/plugins/social-bookmarks/images/netscape.png" title="Add to&nbsp;Netscape" alt="Add to&nbsp;Netscape" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http%3A%2F%2Fwww.perlscriptsearch.com%2Fperl-script%2Fregular-expression-perl-perl-script%2Fperl-regular-expressions%2F&amp;title=Perl+%26%238211%3B+Regular+expressions%3F" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://www.perlscriptsearch.com/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.perlscriptsearch.com%2Fperl-script%2Fregular-expression-perl-perl-script%2Fperl-regular-expressions%2F&amp;title=Perl+%26%238211%3B+Regular+expressions%3F" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://www.perlscriptsearch.com/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http%3A%2F%2Fwww.perlscriptsearch.com%2Fperl-script%2Fregular-expression-perl-perl-script%2Fperl-regular-expressions%2F" rel="nofollow" title="Add to&nbsp;Technorati"><img class="social_img" src="http://www.perlscriptsearch.com/wp-content/plugins/social-bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://tipd.com/submit.php?url=http%3A%2F%2Fwww.perlscriptsearch.com%2Fperl-script%2Fregular-expression-perl-perl-script%2Fperl-regular-expressions%2F" rel="nofollow" title="Add to&nbsp;Tip'd"><img class="social_img" src="http://www.perlscriptsearch.com/wp-content/plugins/social-bookmarks/images/tipd.png" title="Add to&nbsp;Tip'd" alt="Add to&nbsp;Tip'd" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home/?status=Check+out+Perl+%26%238211%3B+Regular+expressions%3F+@+http%3A%2F%2Fwww.perlscriptsearch.com%2Fperl-script%2Fregular-expression-perl-perl-script%2Fperl-regular-expressions%2F" rel="nofollow" title="Add to&nbsp;Twitter"><img class="social_img" src="http://www.perlscriptsearch.com/wp-content/plugins/social-bookmarks/images/twitter.png" title="Add to&nbsp;Twitter" alt="Add to&nbsp;Twitter" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http%3A%2F%2Fwww.perlscriptsearch.com%2Fperl-script%2Fregular-expression-perl-perl-script%2Fperl-regular-expressions%2F&amp;t=Perl+%26%238211%3B+Regular+expressions%3F" rel="nofollow" title="Add to&nbsp;Yahoo My Web"><img class="social_img" src="http://www.perlscriptsearch.com/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Add to&nbsp;Yahoo My Web" alt="Add to&nbsp;Yahoo My Web" /></a>
<br />
<a style="font-size:90%;text-align: right; " title="Click me to hide the sites." href="#" onclick="$$('div.d533').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); return false;">Hide Sites</a>
</div>
</div>
<!-- Social Bookmarks END -->
<script type="text/javascript">$$('div.d533').each( function(e) { e.visualEffect('slide_up',{duration:0.5}) }); </script>]]></content:encoded>
			<wfw:commentRss>http://www.perlscriptsearch.com/perl-script/regular-expression-perl-perl-script/perl-regular-expressions/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced
Database Caching 1/35 queries in 0.074 seconds using disk: basic
Object Caching 1490/1587 objects using disk: basic

Served from: www.perlscriptsearch.com @ 2011-09-20 05:16:29 -->
