Help for this page

Select Code to Download


  1. or download this
    my $example = "<ClientID type="String">A1234BX</ClientID>";
    $example =~ /^\s*\<(\w+)\s[\w\"\=]+\>(.*?)\<\//;
    ...
    my $data = $2;
    
    # do something with the data