optimized els, regex was slooow