Regex to match anything
regex
Solution
The regex `.*` will match anything (including the empty string, as Junuxx points out).
Problem
I know it seems a bit redundant but I'd like a regex to match anything. At the moment we are using `^*$` but it doesn't seem to match no matter what the text. I do a manual check for no text but the test view we use is always validated with a regex. However, sometimes we need it to validate anything using a regex. i.e. it doesn't matter what is in the text field, it can be anything. I don't actually produce the regex and I'm a complete beginner with them.