"John W. Krahn" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> This will work but it will also remove the space in front of the match:
>
> s/(\s|^)#ba(?=\s|$)//;
>

    s/((?<=\s)|^)#ba(?=\s|$)//;

/R




-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to