求一个正则提取指定数据[已解决]
本帖最后由 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:后面的数字,求一个正规,谢谢各位了 StringRegExp($sSource, 'Total:\h+([\d\.]+)', 3) 谢谢老大{:face (356):}
页:
[1]