找回密码
 加入
搜索
查看: 1164|回复: 2

[AU3基础] 求一个正则提取指定数据[已解决]

[复制链接]
发表于 2018-5-23 19:08:34 | 显示全部楼层 |阅读模式
本帖最后由 yang3114 于 2018-5-23 19:19 编辑

0-142.6 1-146.3 2-157.3 3-143.3 4-144.2 5-162.4 Total: 896.1 H/s  
0-156.2 1-126.0 2-149.8 3-153.8 4-121.4 5-154.0 Total: 861.2 H/s  
0-163.1 1-163.6 2-135.5 3-162.8 4-116.8 5-143.0 Total: 884.8 H/s  
0-164.6 1-136.2 2-150.1 3-148.9 4-146.4 5-163.1 Total: 909.3 H/s  
0-125.9 1-140.2 2-165.0 3-149.6 4-136.3 5-143.0 Total: 860.0 H/s  
0-146.3 1-154.3 2-117.3 3-137.8 4-145.7 5-110.9 Total: 812.2 H/s  
0-145.6 1-163.5 2-164.3 3-164.2 4-129.5 5-145.7 Total: 912.9 H/s  
0-152.9 1-119.1 2-154.0 3-129.3 4-140.3 5-157.2 Total: 852.8 H/s  
0-160.6 1-165.6 2-153.4 3-166.0 4-140.3 5-162.7 Total: 948.6 H/s  
0-163.8 1-151.8 2-159.2 3-159.9 4-121.4 5-157.8 Total: 914.0 H/s  
0-146.4 1-153.4 2-137.7 3-163.7 4-144.5 5-162.0 Total: 907.7 H/s  
0-161.5 1-148.6 2-163.7 3-152.4 4-131.9 5-163.7 Total: 921.9 H/s  
0-161.0 1-153.3 2-142.0 3-164.2 4-123.4 5-156.2 Total: 900.0 H/s  
0-164.0 1-149.3 2-162.9 3-124.1 4-117.0 5-163.4 Total: 880.8 H/s  
0-126.5 1-129.3 2-165.3 3-155.3 4-117.0 5-123.6 Total: 816.9 H/s  
0-138.9 1-166.2 2-162.8 3-151.9 4-107.6 5-136.4 Total: 863.9 H/s  
0-143.0 1-138.9 2-157.3 3-164.5 4-100.4 5-115.0 Total: 819.1 H/s  
0-162.1 1-121.2 2-142.4 3-160.6 4-111.3 5-129.6 Total: 827.2 H/s  
0-163.1 1-163.8 2-138.4 3-141.6 4-129.9 5-164.8 Total: 901.7 H/s  
0-146.2 1-165.4 2-137.1 3-147.1 4-129.9 5-112.9 Total: 838.7 H/s  
0-166.1 1-156.9 2-154.3 3-119.2 4-111.4 5-149.7 Total: 857.6 H/s  
0-158.3 1-164.1 2-142.5 3-146.7 4-108.7 5-164.4 Total: 884.6 H/s  
0-1

比如我想提取total:后面的数字,求一个正规,谢谢各位了
发表于 2018-5-23 19:14:39 | 显示全部楼层
StringRegExp($sSource, 'Total:\h+([\d\.]+)', 3)
 楼主| 发表于 2018-5-23 19:18:50 | 显示全部楼层
谢谢老大
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-11-16 18:11 , Processed in 0.071740 second(s), 19 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表