Example 4: Matching the Whole Shebang

This is the fourth example in our regex linking guide where you learn to match the whole shebang.

Here, we'll be matching /^.*$/, the regex that matches the whole string. It's the regex that's been there and back again.

Try it out on our example string: /example4 and see what happens.

Go to the Next Example: Matching the Nothingness Go to the About Page: Where the Regex Masters Reside