<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Using perl to control the characters type in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/using-perl-to-control-the-characters-type/m-p/5018788#M96888</link>
    <description>if ($var =~ /^[a-zA-Z]\d[a-zA-Z]\d{6}$/) {&lt;BR /&gt;/* do something */&lt;BR /&gt;}</description>
    <pubDate>Thu, 14 Dec 2006 00:33:33 GMT</pubDate>
    <dc:creator>Ermin Borovac</dc:creator>
    <dc:date>2006-12-14T00:33:33Z</dc:date>
    <item>
      <title>Using perl to control the characters type</title>
      <link>https://community.hpe.com/t5/operating-system-linux/using-perl-to-control-the-characters-type/m-p/5018787#M96887</link>
      <description>Hi guys,&lt;BR /&gt;&lt;BR /&gt;  Do you know how i can use perl scripting regular expression to control the input. &lt;BR /&gt;&lt;BR /&gt;I would like the input to be 9 characters&lt;BR /&gt;1st character is alphabet, 2nd is digit, third alphabet follow by 6 digits. I am not sure how to control individual character.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance. &lt;BR /&gt;&lt;BR /&gt;Best regards&lt;BR /&gt;Henry&lt;BR /&gt;</description>
      <pubDate>Wed, 13 Dec 2006 20:15:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/using-perl-to-control-the-characters-type/m-p/5018787#M96887</guid>
      <dc:creator>Henry Chua</dc:creator>
      <dc:date>2006-12-13T20:15:43Z</dc:date>
    </item>
    <item>
      <title>Re: Using perl to control the characters type</title>
      <link>https://community.hpe.com/t5/operating-system-linux/using-perl-to-control-the-characters-type/m-p/5018788#M96888</link>
      <description>if ($var =~ /^[a-zA-Z]\d[a-zA-Z]\d{6}$/) {&lt;BR /&gt;/* do something */&lt;BR /&gt;}</description>
      <pubDate>Thu, 14 Dec 2006 00:33:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/using-perl-to-control-the-characters-type/m-p/5018788#M96888</guid>
      <dc:creator>Ermin Borovac</dc:creator>
      <dc:date>2006-12-14T00:33:33Z</dc:date>
    </item>
    <item>
      <title>Re: Using perl to control the characters type</title>
      <link>https://community.hpe.com/t5/operating-system-linux/using-perl-to-control-the-characters-type/m-p/5018789#M96889</link>
      <description>&lt;!--!*#--&gt;if you're new to re stuff, using the x modifier might help you understand it later&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;$var =~ m{&lt;BR /&gt;    ^            # Start of string&lt;BR /&gt;    [a-z]        # 1st A letter&lt;BR /&gt;    \d           # 2nd A digit&lt;BR /&gt;    [a-z]        # 3rd A letter&lt;BR /&gt;    \d {6}       # 4th 6 digits&lt;BR /&gt;    $            # End   of string&lt;BR /&gt;    }xi;         # x = allow space and comments (use \s to match space)&lt;BR /&gt;                 # i = ignore case&lt;BR /&gt;&lt;BR /&gt;Enjoy, Have FUN! H.Merijn</description>
      <pubDate>Thu, 14 Dec 2006 02:37:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/using-perl-to-control-the-characters-type/m-p/5018789#M96889</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2006-12-14T02:37:14Z</dc:date>
    </item>
    <item>
      <title>Re: Using perl to control the characters type</title>
      <link>https://community.hpe.com/t5/operating-system-linux/using-perl-to-control-the-characters-type/m-p/5018790#M96890</link>
      <description>Great help .. thanks guys!! :D</description>
      <pubDate>Thu, 14 Dec 2006 21:01:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/using-perl-to-control-the-characters-type/m-p/5018790#M96890</guid>
      <dc:creator>Henry Chua</dc:creator>
      <dc:date>2006-12-14T21:01:02Z</dc:date>
    </item>
  </channel>
</rss>

