Probably not as fast as a simple regex but static embedding models can get stupid fast e.g https://www.flowercomputer.com/news/fast-static-embedding/