Regex Linking Examples

This page is dedicated to the art of regex linking, because why not?

Example 1: Finding all words that match a given pattern

Use the /[A-Z]+/g pattern to find all words that match this description.

Try it!

Example 2: Replacing all words that match a given pattern

Use the /[A-Z]+/g pattern to replace all words that match this description.

Give it a go!

Example 3: Extracting all words that start with a given prefix

Use the \bprefix pattern to extract all words that start with the word "prefix".

Be my guest!

Example 4: Finding all words that end with a given suffix

Use the suffix\b pattern to find all words that end with the word "suffix".

You know what to do!