Streamlined regex statement and fixed secure site variable