Regular expression (regex) in the "body" of thr response value

Welcome to the community, @Andrii1! You should be able to use a skip logic to a text question type as outlined in this post discussed previously: