Questions tagged [redex]
17 questions
-2
votes
1 answer
Error in Regex101 or my code? JavaScript / Node
I am currently doing an exercise that I got from my school. It's about regex but I am not sure if there is something wrong with my function or my regex code. We were told to use regex101.com to try things out.
in that site it looks like this and it…

Julius
- 21
- 5
-3
votes
1 answer
JS regular expressions for fisrt one letter and numbers
I try make regular expression for one letter Z and 12 digits.
event.target.value = event.target.value.replace(/[^Z{1}+(\d{12})]/, '');
It is necessary for me that in the input field it was possible to enter one letter Z and then 12 digits…

Vlad
- 91
- 5