#!/bin/bashs='FROM some_registry as registry1From another_registry'grep -oP '(?i)\bFROM\s+\K.*?(?=\s+as\b|$)' <<< "$s"
Standard input is empty
some_registry another_registry
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!