RTX Interview Question

Write a regular expression to capture email addresses.

Interview Answer

Anonymous

Apr 9, 2016

I produced a simple regex to combine three alphanumeric sections, divided by a commercial at ("@") and a period ("."). This turned out to be far simpler than the actual answer, but it demonstrated a rudimentary understanding of regular expressions, not to include intermediate techniques such as repetition and capture matching.