title: Split string with caret character in python
body: <p>I have a huge text file, each line seems like this:</p>
  
  <blockquote>
    <p>Some sort of general menu^a_sub_menu_title^^pagNumber</p>
  </blockquote>
  
  <p>Notice that the first "general menu" has white spaces, the second part (a subtitle) each word is separate with "_" character and finally a number (a pag number). I want to split each line in 3 (obvious) parts, because I want to create some sort of directory in python.</p>
  
  <p>I was trying with re module, but as the caret character has a strong meaning in such module, I couldn't figure it out how to do it.</p>
  
  <p>Could someone please help me???? </p>