regex improvments + by css attributes and by binding working