#!/bin/bashs="a string like ['DB']['1']['HOST'] = 'localhost'."sed -En '/\[\x27HOST\x27\]\s?=\s?[\x27"][^\x27"]+[\x27"]/p' <<< "$s"
Standard input is empty
a string like ['DB']['1']['HOST'] = 'localhost'.
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!