Test Regular Expressions in the IDE
WebStorm helps test regular expressions on the fly.
In WebStorm, you can test regular expressions on the fly. For this, place the caret at the expression you want to test, press ⌥⏎ (macOS) / Alt+Enter (Windows/Linux), select Check RegExp and then try a few sample combinations in the appeared popup.