Custom bag Rules/Regex
By: Mili
To implement a regex you have to go to bag:
• Click Custom.
• Add Category
• Name the rule how you like
• Click "Rules Based"
• Click "Add Rule"
• Click "Regex" and copy paste the selected rules below
Note: Only if you use the regex you need to select "Regex" if you want only specific items you can use another option to Remove items by using this rule
^(?!.*\insert name of removal\b)
The "Priority" option is a way to keep items in there selected bags. Say for example you have a pokeball in the "Pokeball" Tab and in another tab you have a pokeball and want to keep the pokeball in the selected tab you put the priority higher so the 2 items dont go into other tabsIf any regex dont work or you found a more efficient way to make them better or you have to add something to it let me know so i can fix the post
im sure this was all layed out in detail on the official costum bag post.
This Regex is for all PVP/PVE items
(Choice band|Choice specs|Choice scarf|Life orb|Expert belt|Metronome|Muscle band|Wise glasses|Throat spray|Leftovers|Heavy-duty boots|Rocky helmet|Assault vest|Focus sash|Light clay|Safety goggles|Shed shell|Permanent air balloon|Mental herb|Red card|Eject button|Eject pack|Flame orb|Toxic orb|Sitrus berry|Lum berry|Custap berry|Liechi berry|Salac berry|Petaya berry|Grassy seed|Misty seed|Electric seed|Psychic seed|Damp rock|Heat rock|Icy rock|Smooth rock|Black Sludge|Booster energy]
This Regex is specificly for putting all chests, boxes, packs and bundlesIts excluding the "Chesto Berry" item that sneaks in with the original rule
(?<!Chesto\s)(Chest|Box|Pack|Bundle)\b
This regex issolates IV Potions,IV Randomizers, Ability capsules,Ability shields, Unallocated EV resets, Full EV Resets.
(IV Potion|IV Randomizer|Ability Capsule|Ability Patch|Ability Shield|Unallocated EV Reset|Full EV Reset)
This Regex is for only Evolution stones
\b(Fire|Water|Leaf|Thunder|Ice|Dusk|Dawn|Shiny|Moon|Sun|Oval|Ever|Fire|Leaf)\s*Stone\b
This Regex is for all Fossiles
\b[Ff]ossil(?!.*\b(Fossil|Root Fossil|Helix Fossil|Claw Fossil|Plume Fossil|Cover Fossil|Armor Fossil|Skull Fossil|Jaw Fossil|Sail Fossil))\b
This Regex is for all Berries
\b(Aguav Berry|Aspear Berry|Cheri Berry|Chesto Berry|Figy Berry|Grepa Berry|Hondew Berry|Iapapa Berry|Kelpsy Berry|Lum Berry|Mago Berry|Oran Berry|Pecha Berry|Persim Berry|Pomeg Berry|Qualot Berry|Rawst Berry|Sitrus Berry|Tamato Berry|Wiki Berry|Leppa Berry|Enigma Berry)\b
This Regex is for all mega stones in 1 tab
\b(?:Venusaurite|Charizardite X|Charizardite Y|Blastoisinite|Beedrillite|Pidgeotite|Alakazite|Slowbronite|Gengarite|Kangaskhanite|Pinsirite|Gyaradosite|Aerodactylite|Mewtwonite X|Mewtwonite Y|Ampharosite|Steelixite|Scizorite|Heracronite|Houndoominite|Tyranitarite|Sceptilite|Blazikenite|Swampertite|Cameruptite|Absolite|Aggronite|Gardevoirite|Galladite|Altarianite|Latiasite|Latiosite|Lopunnite|Audinite|Diancite|Abomasite|Sablenite|Glalitite|Salamencite|Metagrossite|Lucarionite|Manectite|Banettite|Mawilite|Sharpedonite)\b
This Regex is for all healing items
\b(Potion|Super Potion|Hyper Potion|Max Potion|Full Restore|Revive|Max Revive|Moo Moo Milk|Soda Pop)\b
The following list below will contain Rules for every specific type of TM to sort each type of TM per tab
Ground-Type:
(?i)(?:^|[^A-Za-z0-9-])((?:Mud-Slap|Bulldoze|Mud Shot|Dig|Stomping Tantrum|Earth Power|Earthquake|Sand Tomb|High Horsepower|Scorching Sands)|(?

?<!Sandslash )(?<!Alola Sandslash )(?<!Alolan Sandslash )(?<!Hisuian Sandslash )Spikes(?!\s*(?:costume|piece|set|part|spikes?|mount|rescue)\b)))(?=$|[^A-Za-z0-9-])
Fire-Type:
\b(Fire Fang|Fire Spin|Flame Charge|Sunny Day|Fire Punch|Heat Wave|Flamethrower|Fire Blast|Fire Pledge|Blast Burn|Overheat|Heat Crash|Burning Jealousy|Temper Flare)\b
Water-Type:
\b(Water Gun|Water Pulse|Chilling Water|Aqua Jet|Liquidation|Surf|Hydro Pump|Muddy Water|Whirlpool|Flip Turn|Waterfall|Rain Dance|Scald)\b
Grass-Type:
\b(Trailblaze|Magical Leaf|Bullet Seed|Seed Bomb|Grass Knot|Giga Drain|Energy Ball|Grassy Terrain|Grass Pledge|Frenzy Plant|Leaf Storm|Solar Beam|Solar Blade|Grassy Glide|Petal Blizzard)\b
Electric-Type:
\b(Thunder Fang|Charge Beam|Volt Switch|Electro Ball|Thunder Wave|Eerie Impulse|Thunderbolt|Electric Terrain|Wild Charge|Charge|Supercell Slam|Electroweb|Thunder|Thunder Punch)\b
Ice-Type:
\b(Ice Fang|Icy Wind|Avalanche|Snowscape|Ice Punch|Ice Spinner|Ice Beam|Blizzard|Haze|Icicle Spear|Triple Axel)\b
Fighting-Type:
\b(Low Kick|Low Sweep|Brick Break|Bulk Up|Drain Punch|Body Press|Aura Sphere|Reversal|Focus Blast|Close Combat|Vacuum Wave|Focus Punch|Coaching|Upper Hand)\b
Poison-Type:
\b(Acid Spray|Poison Tail|Venoshock|Poison Jab|Toxic Spikes|Gunk Shot|Sludge Bomb|Toxic|Sludge Wave)\b
Flying-Type:
\b(Acrobatics|Aerial Ace|Air Cutter|Air Slash|Fly|Tailwind|Hurricane|Brave Bird|Dual Wingbeat|Feather Dance)\bBug-Type\b(Struggle Bug|Pounce|U-Turn|Leech Life|X-Scissor|Pollen Puff|Bug Bite|Lunge|Skitter Smack)\b
Psychic-Type:
\b(Agility|Psybeam|Stored Power|Psyshock|Zen Headbutt|Reflect|Light Screen|Imprison|Skill Swap|Trick|Psychic|Amnesia|Calm Mind|Psychic Terrain|Trick Room|Gravity|Future Sight|Expanding Force|Psychic Noise)\b
Ghost-Type:
\b(Confuse Ray|Hex|Night Shade|Shadow Claw|Shadow Ball|Phantom Force|Spite|Poltergeist|Curse)\b
Dark-Type:
\b(Fake Tears|Thief|Snarl|Fling|Foul Play|Taunt|Dark Pulse|Crunch|Knock Off|Lash Out|Throat Chop|Nasty Plot)\b
Fairy-Type:
\b(Charm|Disarming Voice|Draining Kiss|Dazzling Gleam|Play Rough|Misty Terrain|Misty Explosion|Alluring Voice)\b
Rock-Type:
\b(Rock Tomb|Sandstorm|Rock Blast|Rock Slide|Power Gem|Stealth Rock|Stone Edge|Smack Down)\b
Steel-Type:
\b(Metal Claw|Smart Strike|Flash Cannon|Iron Head|Iron Defense|Heavy Slam|Steel Beam|Meteor Beam|Metal Sound|Hard Press)\b
Dragon-Type:
\b(Dragon Tail|Dragon Claw|Dragon Dance|Dragon Pulse|Outrage|Draco Meteor|Scale Shot|Breaking Swipe|Dragon Cheer)\b
Normal-Type:
\b(Take Down|Scary Face|Protect|Facade|Swift|Endure|False Swipe|Body Slam|Sleep Talk|Rest|Swords Dance|Hyper Voice|Encore|Helping Hand|Baton Pass|Giga Impact|Tera Blast|Roar|Uproar|Weather Ball|Pain Split|Psych Up|Double-Edge|Endeavor)\b