I am looking for a regular expression that can simultaneously display two phrases on a web page.
The two phrases I need to provide on the Internet are Current QPS (last 10s, ignored 0)andAverage Latency (last 100 queries)
The web page looks like (the request time will be different, but the text will not change):
Query Statistics
Average QPS 25.3673
Average Latency 0.1002
Average Latency (last 100 queries) 0.0834 # Match this one, ignore output-0,0834
Average Search Latency 0.0555
Average Docsum Latency 0.0330
Sampling period 3133524.9570
Current QPS (last 10s, ignored 0) 24.8000 # Also match this one, ignore output 24.8000
Peak QPS 170.9000
Number of requests 79717858
Number of queries 79489080
I can match each phrase on a website, but not two phrases. How can I make my tool ignore content between two phrases?
PS I do not program in any language here, the regular expression will be placed in a tool that accepts a regular expression.
source
share