I appreciate I can remove the whitespace after I extract with regex but was hoping someone could provide a regex to capture without the leading and trailing whitespaces in the first place.
Im sorry if I didnt explain but I was just looking for values preceded by Name.
However the regex you provided is equally beneficial for further use cases so thank you also, much appreciated.
I would recommend using the Trim Method because it takes care of all the whitespaces, regardless of whether its positioned on the Left or on the Right →
Another reason, is because it reduces complexity.
Your pattern is fine @MikeC the way it is, just make it a habit to Trim it while calling it.