Skip to main content
Contiem Connect

Regular Expression Examples

2 words with anything in between

Match 2 specific words, with any characters between them.

(first).*(second)

HTML Tags

Match the opening and closing pair of a specific HTML tag.

<TAG\b[^>]*>(.*?)</TAG>

Anything between the tags is captured as a group which can be included in the 'Replace With' expression using $1.

Email Address

Match an email address.

\b[A-Z0-9._%-]+@[A-Z0-9.-]+\.[A-Z]{2,4}\b

Top of page