Sometimes walking away is the only option. Not because you want to make someone miss you, or realize they took you for granted. But because you finally respect yourself enough to know that you deserve better.
Never regret anything that has happened un your life, it cannot be changed, undone or forgotten. So take it as a lesson learned and move on.