Allow any character - except whitespace - in regexp patterns
See original GitHub issueIssue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
regex - How to match any non white space character except a ...
You can use a character class: /[^\s\\]/. matches anything that is not a whitespace character nor a \ . Here's another example:.
Read more >Matching Whitespace & Non-Whitespace Character
Use \s to match whitespace and \S to match non whitespace characters in this challenge.
Read more >RegExp \S Metacharacter - W3Schools
JavaScript RegExp \S Metacharacter The \S metacharacter matches non-whitespace characters. Whitespace characters can be: A space character. A tab character.
Read more >Basic Regular Expressions: Exclusions
To match any character except a list of excluded characters, put the excluded charaters between [^ and ] . The caret ^ must...
Read more >Non whitespace string - Regex Tester/Debugger
Character classes . any character except newline. \w \d \s, word, digit, whitespace. \W \D \S, not word, digit, whitespace. [abc], any of...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@lppedd perfect!! Your work is amazing!Looking forward to an early release
@lppedd maybe we can support git emoji ? it is like https://gitmoji.dev/