What does the regex \S mean in JavaScript ?

What does the regex \S mean in JavaScript ?

Asked on January 4, 2019 in Regex.
Add Comment


  • 2 Answer(s)

    In egex \S mean in JavaScript :

    \s matches white space, tabs and new lines.

    \S is negated \s.

    Answered on January 4, 2019.
    Add Comment

    Using metacharacter :

    The \s metacharacter matches whitespace characters in regex.

     

    Answered on January 4, 2019.
    Add Comment


  • Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.