Use re to extract csrf