I have a string that looks similar to the below
..."lastName":"","password":"somepassword"}
I want to be able to search the string using regex for password then select the actaul password in the next set of quotes. i.e the regex should select somepassword
I was able to find a match for password using the following regex but need then have a mechanism to select the password value
(?:^|\W)password(?:$|\W)