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