LOL, someone else who doesn't like snails, welcome to the dark side
Just check the plants for small clear jelly like lumps and snails before you put them in the tank. You can quarantine plants in a plastic storage container for a couple of weeks and that will allow snail eggs to hatch and you can squish em.
You don't need to dechlorinate tap water for quarantining plants so you can fill up a bucket with tap water and put the plants in that for a few weeks.
You can dip the plants in a copper sulphate solution and that will kill snails but not always the eggs.
*NB* If you use copper make sure you rinse and soak the plants well (with fresh water) before adding them to the tank. Copper will kill invertebrates like shrimp so you need to get any copper of the plants before adding them to the main tank.
Most people just have a look for snails and remove them. Then shake the plants in a bucket of water before checking again. Scrape off any eggs or snails, rinse a couple more times and then add them to the tank.