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