RegEx tester

Which function should be used to match the sample?
It will influence the behaviour of the chosen function.