str = '[111]dsfdsd[33333]'

pattern = r"(\[.*?\])";
                    guid = re.findall(pattern,str ,re.M)
                    if(len(guid)>0):
                        guid = guid[0]
                        guid = guid.replace('[','').replace(']','')

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-02-07
  • 2022-12-23
  • 2022-02-07
  • 2022-02-07
  • 2022-02-07
猜你喜欢
  • 2021-12-19
  • 2021-08-24
  • 2022-12-23
  • 2022-12-23
  • 2021-08-27
  • 2022-12-23
相关资源
相似解决方案