I'm trying to pull data using what I believe to be the python version, it's been working so far but now I've come across some data where there's unwanted numbers (that will change across documents I'm trying to process), so I'm wondering if there's a way to skip through those numbers. The anchor I'm using will be the same, Georgia in my example below. The words and numbers are all separated by little circles so it makes it pretty easy, just having trouble implementing some stackoverflow help to my problem.
What I've used, what I need from it will be bolded:
Georgia * 372,000 * 0 * 0 * 145,982 * 36,000 * 0.09216
I've been using this formula to grab the anchor word and then use another code to grab the following word or number and it's worked until now. (Match(0).Value) I've tried changing that 0 to a 5 to try to grab the 6th value but it's not letting me do that. (?<=State\sName\s)(.*?(?=\s)). I've been looking here to try to solve my problem but I'm confused: RegEx skip word Update: Got some help from someone, suggesting I try to use this:
(Georgia)(?:\s*\*\s*\S+)(?:\s*\*\s*\S+)(?:\s*\*\s*\S+)(?:\s*\*\s*\S+)(?:\s*\*\s*\S+)\s*\*\s*([0-9,.]+)
, which I was able to use this part
(Georgia)(?:\s*\*\s*\S+){5}
to highlight up to the value I want to extract, but I'm unable to figure out how to highlight just the value I want.