PLT-7521: improve regex pattern (#7345)
PLT-7521: improve regex pattern (#7345)

* PLT-7521: improve regex pattern

* style fix

rickbatka/mattermost-webapp,rickbatka/mattermost-webapp,rickbatka/mattermost-webapp,rickbatka/mattermost-webapp