- #1
MesonMarcus
- 2
- 0
can anyone help solve this puzzle regarding regular expressions? I was given this in an interview test from BAE systems cyber security department a few years ago and just came across it again, still haven't managed to get anywhere like an answer. I have tried matching each line of regex to form words but no look. The puzzle is as follows:
.{14}security.{15}
[^s]{3}s [^s]{6}s[^s] s[^s]{12}s [^s]{8}
def
^It'..[ywkni][klmop][zwta]
ce.$
jus
[^f]*fenc
y, it's
t ...t
Give your answer.
This is the best I could get...
...security...
bees xxxxxxsx sxxxxxxxxxxxxs xxxxxxxx
def
It's not
ce.
jus
xfenc
y, it's
t xxxt
but makes no sense...
.{14}security.{15}
[^s]{3}s [^s]{6}s[^s] s[^s]{12}s [^s]{8}
def
^It'..[ywkni][klmop][zwta]
ce.$
jus
[^f]*fenc
y, it's
t ...t
Give your answer.
This is the best I could get...
...security...
bees xxxxxxsx sxxxxxxxxxxxxs xxxxxxxx
def
It's not
ce.
jus
xfenc
y, it's
t xxxt
but makes no sense...