hi,
if(User-Name =~ /@(.+)?@/i ) {
=====================================
Would this not be simpler just by using '/@.*@/' ?
its good to get feedback.
yes, theres no need for case insensitive for this one....and also, we dont care
about feeding the results to a following process....so no need for the brackets.
alan