regular expresion that matches everything in between two characters code example Example: get everything between two characters regex (?<=\[)(.*?)(?=\])