ToolKit logoToolKit

Dev tools

Regex Tester

Find words of four or more word characters with a fixed JavaScript regex. Shows matches and their positions; custom patterns and flags are not supported.

Regex tester

Matches for words with 4+ characters

body at 0
color at 7
margin at 21

About this tool

Paste sample text to run the fixed pattern \b\w{4,}\b with the global flag. The output lists each matching word and its character position.

This is a fixed-pattern demonstration, not a general regular-expression editor. There are no pattern, flag, highlighting or capture-group controls. Matching uses JavaScript word characters rather than language-aware word segmentation.

Frequently asked questions

Can I enter a custom regular expression?

No. This version only runs the displayed fixed pattern for words of four or more word characters.