RegexWars
Tier 5 · Conjurermatch

Trailing Whitespace

Match strings that end with whitespace — the ones your linter shouts about.

Your pattern0 chars · par 3
//
Flags
Start typing — tests run as you go.0 of 5 visible tests passing
Test cases
  • hello·must match
  • hellomust match
  • hellomust match
  • hellomust not match
  • ·hellomust not match

    leading, not trailing

+ 3 hidden tests, checked when you submit. They are what stops a pattern that only fits the examples above.