I have a full text of HTTP header like this:
GET /index.php HTTP/1.1 Connection: keep-alive Pragma: no-cache Cache-Control: no-cache X-ACCESS: 123456
So I want to create a regex which checks if X-ACCESS is exists and equals to 123456, how should I write it?
EDIT: I do not need to control the value of 123456, that is as long as X-ACCESS: 123456 is presented, regex will be true.
Thanks in advance :)