<?xml version="1.0" encoding="windows-1252"?>
<node id="996901" title="Re: RegEx on Binary data" created="2012-10-02 15:37:44" updated="2012-10-02 15:37:44">
<type id="11">
note</type>
<author id="341121">
dave_the_m</author>
<data>
<field name="doctext">
Like runrig said, you probably want to unpack the individual fields first, but in answer to your question, perhaps something like:
&lt;code&gt;
$packed_record =~ /^[\x00-\xff]{8,15}\xaa\xbb\xcc/;
&lt;/code&gt;
&lt;p&gt;
Dave.</field>
<field name="root_node">
996899</field>
<field name="parent_node">
996899</field>
</data>
</node>
