<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1000805" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1000805</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/regular-expressions-and-long-list-questions#comment-1003486</link>
    <description> &lt;p&gt;I think there is a problem with the forums. It did put my message to the top..&lt;/p&gt;
&lt;p&gt;------------------&lt;/p&gt;
 </description>
     <pubDate>Wed, 24 Nov 1999 23:55:00 +0000</pubDate>
 <dc:creator>sumengen</dc:creator>
 <guid isPermaLink="false">comment 1003486 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/regular-expressions-and-long-list-questions#comment-1003483</link>
    <description> &lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;if you have a file name like this:&lt;/p&gt;
&lt;p&gt;0123thisIsAFile.html&lt;/p&gt;
&lt;p&gt;What would be the correct regular expression to extract the integer from that file name?&lt;/p&gt;
&lt;p&gt;And if you have the answer handy, how do you get an array of the file names in a directory?&lt;/p&gt;
&lt;p&gt;How can you &amp;quot;substract&amp;quot; a string from another string? Speak, you have two strings like &amp;quot;http://www.go.com&amp;quot; and &amp;quot;http,&amp;quot; and you need the characters that only exist is one of them.&lt;/p&gt;
&lt;p&gt;Thank You So Much, I love you all,&lt;/p&gt;
&lt;p&gt;Malte&lt;/p&gt;
&lt;p&gt;----------&lt;br /&gt;
&lt;strong&gt;Malte Ubl&lt;/strong&gt; - [red]Germany[/red] - &lt;strong&gt;&lt;a href=&quot;http://goKewl.com/&quot; class=&quot;bb-url&quot;&gt;http://goKewl.com/&lt;/a&gt;&lt;/strong&gt;&lt;br /&gt;
[red]The beats of 1000 hearts inside...[/red] the merciless pulsation... [red]and all I know is I&#039;ll be back...[/red] back to trance nation!&lt;/p&gt;
 </description>
     <pubDate>Thu, 21 Oct 1999 02:55:00 +0000</pubDate>
 <dc:creator>Malte</dc:creator>
 <guid isPermaLink="false">comment 1003483 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/regular-expressions-and-long-list-questions#comment-1003485</link>
    <description> &lt;p&gt;*wow, this text box is huge ;)*&lt;/p&gt;
&lt;p&gt;1) If the &amp;quot;thisIsAFile&amp;quot; is not variable (it&#039;s the same for all the files, here&#039;s the code:&lt;/p&gt;
&lt;p&gt;if ($filename =~ /^(.+?)thisIsAFile.html/) { $integer = $1 }&lt;/p&gt;
&lt;p&gt;2) Code:&lt;/p&gt;
&lt;p&gt;$directory = &amp;quot;/home/usr/yourname&amp;quot;;&lt;br /&gt;
opendir(D, $directory);&lt;br /&gt;
@files = readdir(D);&lt;br /&gt;
closedir D;&lt;/p&gt;
&lt;p&gt;3) Code:&lt;/p&gt;
&lt;p&gt;$string1 = &amp;quot;http://&amp;quot;;&lt;br /&gt;
$string2 = &amp;quot;http://www.go2net.com&amp;quot;;&lt;br /&gt;
foreach $letter (split(//, $string1)) {&lt;br /&gt;
  $string2 =~ s/$letter//g;&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;Note that this last code will delete all H&#039;s from $string2, all T&#039;s, all P&#039;s and so on.&lt;/p&gt;
&lt;p&gt;Cheers!&lt;/p&gt;
&lt;p&gt;----------&lt;br /&gt;
&lt;strong&gt;Reviews of the best resources for webmasters in your e-mail every week!&lt;/strong&gt;&lt;br /&gt;
Subscribe for &lt;strong&gt;[red]FREE[/red]&lt;/strong&gt; by going to &lt;strong&gt;&lt;a href=&quot;http://www.web-reviews.com/&quot; class=&quot;bb-url&quot;&gt;http://www.web-reviews.com/&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
 </description>
     <pubDate>Wed, 20 Oct 1999 20:35:00 +0000</pubDate>
 <dc:creator>Federico Carnales</dc:creator>
 <guid isPermaLink="false">comment 1003485 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
