Implemented regex and placeholder magic