Valid space characters in a regex
This vector shows which characters are valid whitespace characters in a \s escape sequence.
Created by: hackvertor
Created on: Tuesday, December 9, 2025 at 3:26:39 PM
Updated on: Tuesday, December 9, 2025 at 3:26:39 PM
Category: Regular Expressions
Vector visibility: Public
Vector type: JS
Vector charset: UTF-8
Template used:
/^\s+$/.test(String.fromCodePoint($[i])) && log($[i])
Your browser was detected as:
Detecting... Detecting... Detecting... Detecting...
Sample payloads
/^\s+$/.test(String.fromCodePoint(9)) && alert(9)
/^\s+$/.test(String.fromCodePoint(10)) && alert(10)
/^\s+$/.test(String.fromCodePoint(11)) && alert(11)
/^\s+$/.test(String.fromCodePoint(12)) && alert(12)
/^\s+$/.test(String.fromCodePoint(13)) && alert(13)
/^\s+$/.test(String.fromCodePoint(32)) && alert(32)
/^\s+$/.test(String.fromCodePoint(160)) && alert(160)
/^\s+$/.test(String.fromCodePoint(5760)) && alert(5760)
/^\s+$/.test(String.fromCodePoint(8192)) && alert(8192)
/^\s+$/.test(String.fromCodePoint(8193)) && alert(8193)
/^\s+$/.test(String.fromCodePoint(8194)) && alert(8194)
/^\s+$/.test(String.fromCodePoint(8195)) && alert(8195)
/^\s+$/.test(String.fromCodePoint(8196)) && alert(8196)
/^\s+$/.test(String.fromCodePoint(8197)) && alert(8197)
/^\s+$/.test(String.fromCodePoint(8198)) && alert(8198)
/^\s+$/.test(String.fromCodePoint(8199)) && alert(8199)
/^\s+$/.test(String.fromCodePoint(8200)) && alert(8200)
/^\s+$/.test(String.fromCodePoint(8201)) && alert(8201)
/^\s+$/.test(String.fromCodePoint(8202)) && alert(8202)
/^\s+$/.test(String.fromCodePoint(8232)) && alert(8232)
Fuzz results
Chrome 143.0.0.0 desktop macOS 10.15.7
Updated
Tue Dec 09 2025
Found 25 results
Loading...
Safari 26.1 desktop macOS 10.15.7
Updated
Tue Dec 09 2025
Found 25 results
Loading...
Firefox 145.0 desktop macOS 10.15
Updated
Tue Dec 09 2025
Found 25 results
Loading...
