How to extract a given substring based on next starting and ending values

hello, I am having difficulty extracting a varible length substring from a given string. For instance I am trying to draw out all of the nicknames in a dynamo script. for example I know that the nickname looks like nickname=“List.Clean|DanEDU”, but it can be any name. So I want to use something like in excel you would use find(nickname="*") where the * would find anything in between those characters that meet the rest of the sting. But I cant seem to find a node that does that in Dynamo. please advise. thanks!