Regular Expressions 101

Community Patterns

Non-Empty String

1

Regular Expression
ECMAScript (JavaScript)

/
[\S\s]+[\S]+
/

Description

This simply checks if the string is not empty spaces.

Submitted by anonymous - 7 months ago