Change regex to preserve query between brackets. example: [NOW TO *]