#!/bin/bashtest="100 ***10 ** // target"grep -E '(^|[^*])\*{2}($|[^*])' <<< "$test"
Standard input is empty
10 ** // target
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!