如何在 python 正则表达式中匹配以下情况,
str = "https://10.0.4.3/myrepos/Projects/ID87_070_138"
我需要从文件夹列表中匹配“ID87_070_138”这种类型的文件夹。
The pattern is "ID<number>_<number>_<Number>".
提前致谢。
如何在 python 正则表达式中匹配以下情况,
str = "https://10.0.4.3/myrepos/Projects/ID87_070_138"
我需要从文件夹列表中匹配“ID87_070_138”这种类型的文件夹。
The pattern is "ID<number>_<number>_<Number>".
提前致谢。