How can i build a NLU module with regular expression only

I see we can do regular expresson for entity extraction. But it still needs the model training for intent classification. How can i build a NLU module with regular expression only. For both intent and entity process will be use the regular expresson. thanks