string s = @"<0800><P0>1005150101040</P0><P1>1005150101050</P1><P2></P2><P3></P3><P4></P4><P5></P5><P6></P6><P7>100515010101</P7> <P8></P8><P9></P9><P10></P10><P1>000002</P11><P12></P12><P70>002</P70><P127></P127></0800> "
(?<=\<P\d\>)\d{10,13}(?=\</P\d\>)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)