then try it with \W* instead, that way you limit on nonword characters, but onyl if they are there...
Regex regex = new Regex(@" \W*(@\w+)\W* ", (RegexOptions) 0); --chris On Wed, 18 Feb 2004, Carlos Guzmán Álvarez wrote: > Hello: > > > How about something like: > > > > \W+(@\w+)\W+ > > Thanks but seems that it's not valid. > > > > > -- > Best regards > > Carlos Guzmán Álvarez > Vigo-Spain > _______________________________________________ > Mono-list maillist - [EMAIL PROTECTED] > http://lists.ximian.com/mailman/listinfo/mono-list > _______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list