I'm assuming that yours rob will just remove the #ba, without the space.
While this was what I was originally looking for, John's solution removing
the #ba and the space before is more convenient, saves me having to do s/  /
/g; then.

dan
Network Administrator & Head Coder
http://www.abovenet.org IRC network

"Rob Dixon" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> "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