Quantcast
Channel: Questions in topic: "splunk-enterprise"
Viewing all articles
Browse latest Browse all 47296

How can I Rex to match until a string

$
0
0
Hi folks, I'm new to regex and am struggling to extract a number from a field. I basically need the amount extracted from the following; *Date Name Amount Curr Type Status* *------------------- -------------------- ---------- ---- ------------ ------* *07.05.2016 22:58:09 Person's Name 5.00 GBP Sale Okay* It is the variable length text before the number that I am struggling with. Please can you suggest a way in which I can extract just the 5.00 in the above example? Thanks in advance :-) Matt

Viewing all articles
Browse latest Browse all 47296

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>