in reply to Re: Extract middle string from a path using RegExpin thread Extract middle string from a path using RegExp