<?xml version="1.0" encoding="windows-1252"?>
<node id="990331" title="Re^3: Split() first 3 elements of @array" created="2012-08-28 16:40:55" updated="2012-08-28 16:40:55">
<type id="11">
note</type>
<author id="675798">
ig</author>
<data>
<field name="doctext">
&lt;blockquote&gt;I cannot sxtract the IP address for the switch for some reason&lt;/blockquote&gt;

&lt;p&gt;The third line, with the IP address is indented: there is some whitespace at the beginning of the line, but your regular expression is looking for 'IP' at the beginning of the line: &lt;c&gt;/^IP/&lt;/c&gt;. Change that to accept some leading whitespace and you should get a match: &lt;c&gt;/^\s*IP/&lt;/c&gt;&lt;/p&gt;</field>
<field name="root_node">
990301</field>
<field name="parent_node">
990311</field>
</data>
</node>
