zhushixu 发表于 2023-3-9 11:49:10

正则请教:提取文本中的验证码

大佬们麻烦了,刚用火山安卓,不太会用正则。在文本中获取6个数字,使用的正则是{5},这个正则在易语言测试是正常的,但是在火山安卓中提取不到,我不知道是不是我写错了,请大佬们教一下
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAkIAAABuCAYAAADLVnxkAAAO5klEQVR4nO3dP4vkyBnHca3xC9h4s0067tjgdBg4Fg42n8OhY5/vXoNtHDs8PPnCwmAYJjU4PCa6dLN9G+tIR+1zz/PU85RK/6a+H1imWypJ1b3q1q+rStKry+XyZQIAABjQ7/auAAAAwF4IQgAAYFgEIQAAMCyCEAAAGBZBCAAADIsgBAAAhkUQAgAAwyIIAQCAYRGEAADAsAhCAABgWAQhAAAwLIIQAAAYFkEIAAAMiyAEAACGRRACAADDIggBAIBhEYQAAMCwCEIAAGBYBCEAANDs4eFhenh42LsazQhCAABgWK9ev379ZauNPT4+Vsvc3t5uUBOfrOft7a067QweHx/NunrzvPm15azyrdureX5+nq7Xa9P05+dndZ3ach5Z9w/v/zO9//DNr3/L6bNyeg/euvfabjm/tl2vnPV+ZvTev2rzIvPXJPft6/WqTsuI7ucYy6dPn6Zpmqafv//lN/tD6+duS7/feoO1A2FEtJwWYLz5Zd3mx9r86PazMkGx9rp6iISXpevrFbZm8ou+fD5/6c8HhOv1+tVjax012bqudcCY11sGkyNsN7rt+Qt0LS3787xvRALPTAYObR+U0z1agPHml9vQAn/tR4BlyXdBNAz3WDZSvlbmpQa7PV5X7+PIGjYPQr1CRBkItMdWOVnGChZaPdcKQLIu5fa8nccKENaykddkvX+9aOuPhiONdoCyWoGsMuWBrscv+Oyv5GxrTa/WnT22qwWdSEvRHq0O5b4g9w25n8hwoZXTgodVztqnrf3U2oa2zWwAsmT+X5aE3MyyZV28erXWR1un9bmItJRa64pOP5L3H76Zfv7wyylD5KFahNZQHujLkODVxQskR0y20Tplg5Ysaz2vtbxFysv/G6ulzhLp7vK0hiDtPZy/BKLhQn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1hoUCRKRkKItE20dssp6Ycca31Sr71Jz6Ml0jU2THTZ6tgRZ3VlaK4Q2Zkiup7U7ZumZlksHKFtdXJHxSmf7rAPI2TwItQScjEhLT+s6a83nke2t+aWaCRnyefRsLGsQtLX+TMtRpP6RFqmjdH9FZMaLWDJnIcnnte3JcUTlMplAFG0Ryg6Sbilndadb6yz/nqVlC0DcabvGPNEBmB5rUPRWX4A9BkNaAaelW2tebmnIiA6yrpW15tcC3RYtQ3uzAk4mZHlhR55hlt1Hy3F3a/4wsD6vmc9wrcU4u77s59oqy0BpoJ/TByFvYHTL8nJwtDfu6EiskBKd1joY+kytL0e0dCyQdUCMTrPG/MwHbHn9IK87TauL1pq6RvCJXDLDm6aNN9TCzlpniM5/CTfA9k4fhCLXHynJlh1vrIC2rdqptpFpUZlfj5lAsvQaO7VtbnXV69aWrSNZeuDLLN8SujIXVNTq4v1I8S5OmpUdL5Qt2zMAyc+19X9IaxCwjVMHIe/6HrUr2lq/FFu+JK311ZaJiH7hRUKBd32csutIu9aQtZy2bW+MUKaLqvaaMl1jR+EdADNXb85c3dk74JbdW9HutB5ntEUuTtr6WbR4n33rYqpWnWotSDUtY7oyywKIe3W5XL7sXQkAAIA9cPd5AAAwLIIQAAAYFkEIAAAMiyAEAACGRRACAADDIggBAIBhEYQAAMCwCEIAAGBYBCEAADAsghAAABgWQQgAAAyLIAQAAIZFEAIAAMMiCAEAgGERhAAAwLAIQgAAYFgEIQAAMCyCEAAAGBZBCAAADIsgBAAAhkUQAgAAwyIIAQCAYRGEAADAsAhCAABgWAQhAAAwLIIQAAAYFkEIAAAMiyAEAACGRRACAADDIggBAIBhEYQAAMCwCEIAAGBYBCEAADAsghAAABjW/wGCr+vRsMwH0gAAAABJRU5ErkJggg==

创世魂 发表于 2023-3-10 07:51:31

例子。


zhushixu 发表于 2023-3-10 17:46:01

创世魂 发表于 2023-3-10 07:51
例子。

非常感谢:handshake
页: [1]
查看完整版本: 正则请教:提取文本中的验证码