regex1

@"w*(?<Rawsize>\d*x\d*x\d*)\D*(?<RawResolution>(\d*p\d*x*){0,3})_\w*"

测试数据:

DY3_1_2_90cm_512x512x1464_0p4947x0p4947x0p625_140kv_16bit_signed.raw

BB331_S05_8453p33_FullPlug_Model_800x610x610_40p1113_For_iCore.raw

 

测试结果:

C# Regex实例-LMLPHP

05-07 15:22