Re: little help needed
- To: mathgroup at smc.vnet.net
- Subject: [mg76437] Re: little help needed
- From: Szabolcs <szhorvat at gmail.com>
- Date: Tue, 22 May 2007 02:50:47 -0400 (EDT)
- Organization: University of Bergen
- References: <f2rrkt$a6b$1@smc.vnet.net>
vasil michev wrote: > How do i delete everything that has "Bar" in it from > > DeleteCases[ParticleData["Baryon"], {___}] > > its not string so I cant do it in the usual way, regexp doesnt seem to > work either > > DeleteCases[ ParticleData["Baryon"], ({s_String, _} | s_String) /; StringMatchQ[s, ___ ~~ "Bar" ~~ ___] ] Szabolcs