fork download
  1. #!/bin/bash
  2. echo '12.05.2009 ERROR (User2) Problem (aa(bb)cc)dd with (ee) ff) Login' | \
  3. sed -n "s/.*ERROR ([^)]*)/ERROR/p"
Success #stdin #stdout 0s 19632KB
stdin
Standard input is empty
stdout
ERROR Problem (aa(bb)cc)dd with (ee) ff) Login