find set of characters between two strings in regex code example Example: get everything between two characters regex (?<=\[)(.*?)(?=\])