SyntaxFix
Write A Post
Hire A Developer
Questions
🔍
[regex] RegEx for matching "A-Z, a-z, 0-9, _" and "."
Home
Question
RegEx for matching "A-Z, a-z, 0-9, _" and "."
regex: /^[a-zA-Z0-9_.]$/i
This works
Examples related to
regex
•
Why my regexp for hyphenated words doesn't work?
•
grep's at sign caught as whitespace
•
Preg_match backtrack error
•
regex match any single character (one character only)
•
re.sub erroring with "Expected string or bytes-like object"
•
Only numbers. Input number in React
•
Visual Studio Code Search and Replace with Regular Expressions
•
Strip / trim all strings of a dataframe
•
return string with first match Regex
•
How to capture multiple repeated groups?