regular expression that left string between two delimiters code example Example: get everything between two characters regex (?<=\[)(.*?)(?=\])