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