Add second regex code

Signed-off-by: Aniket Pant <me@aniketpant.com>