<?php $text="('x-csrf-token', 'whatever')"; preg_match("/x-csrf-token',\s*'([^']+)/mi",$text,$matches); $token=$matches[1]; var_dump($token);
You have javascript disabled. You will not be able to edit any code.