I have been searching for hours and it only caused me to be more confused. Say I was concealed in the beginning and made a range sneak attack, could I move to another area with cover, then make a stealth check in the same turn? Or does it require a 2nd turn to move and stealth, then a 3rd for a 2nd sneak attack?
Ranged attacks from Stealth are an exception to the normal rules governing Stealth.
You can only move after making a stealthy ranged attack if you do not plan on making another stealth check. The reason for this is in the rules for the Stealth skill below:
Sniping: If you've already successfully used Stealth at least 10 feet from your target, you can make one ranged attack and then immediately use Stealth again. You take a –20 penalty on your Stealth check to maintain your obscured location.
Action: Usually none [but] using Stealth immediately after a ranged attack is a move action.
If you decide to make a ranged attack from stealth, you may either 1) re-stealth immediately afterwards at a DC20 (as per sniping) and stay where you are or 2) move to another location and remain detected. To do both would interfere with the action economy of your turn unless you have some means of taking another move action.
Some may argue that a Stealth check is normally a non-action and is made as part of a move action. This is true for normal stealth checks but not those governing stealth after ranged attacks. Instead of being part of a move action, the stealth check becomes the move action.
If you were making a melee attack, though, Stealth would work as normal and you could attack, move, and re-stealth (as part of the move) all in the same turn. Though you'd take an AoO for leaving a threatened square as you are no longer undetected.
To be honest I find this to be counter-intuitive. Why should it be easier to hide after punching someone in the face than after sniping them from a distance? Stealth rules in Pathfinder are, Paizo admits, a complete mess. That's why they released these new stealth rules. Now, even if your GM follows RaW, it may be worth doing because stealth now allows for sneak attack damage on rounds other than the surprise round.¹
It may simply be worth house-ruling a hand-wave on these rules, though.
1: See this related question and it's accepted answer.
The melee attack actually does not make it easier to regain stealth. it is the opposite it is much trickier. see why: If you do sniping, you will restealth in the same location because your re-stealth is considered a move action. So you do the attack (std action) and then the stealth (move action) with a -20 penalty. You also could do a 5ft step (free action). For the melee attack the stealth ends immediately after attacking and you cannot hide if you are observed. It is VERY LIKELY that the enemy you just attacked is now observing you. So you cannot hide at all unless you spend a move action go to a location where you have total cover or total concealment so as to no longer be 'observed' and THEN once at the location do a stealth check. AND you would suffer an AoO by leaving a threatened square because you just attacked and cannot use the withdraw std action.