At 01:42 PM 5/11/99 -0500, you wrote: >Hi Enrique. > >On May 10, 9:43pm, Enrique Vadillo wrote: >> Subject: Suffix Removal? >> Hi all, >> >> I would like to remove a suffix from a username, the thing is i want to >> strip the trailing domain right after the '@' sign in my handle: >> >> <Handler User-Name=/\@somedomain//> >> RewriteUsername s/?????/?????/ >> <AuthBy RADIUS> >> Host x.x.x.x >> Secret **** >> </AuthBy> >> </Handler> >> >> how can i do that? any ideas? >This will strip the @ and the suffix: > >RewriteUsername s/^([^@]+).*/$1/ How about stripping leading and trailing spaces? Chris === Archive at http://www.thesite.com.au/~radiator/ To unsubscribe, email '[EMAIL PROTECTED]' with 'unsubscribe radiator' in the body of the message.