Answers for "regex for last character of string"

0

regex for at last one character especial

var regularExpression = /^(?=.*[0-9])(?=.*[!@#$%^&*])[a-zA-Z0-9!@#$%^&*]{6,16}$/;
Posted by: Guest on June-07-2021
0

regex last match

Just use "$" to specify matching a pattern at the end of each line.
Example with grep:
grep "pattern$" file.txt
Posted by: Guest on October-24-2020

Code answers related to "regex for last character of string"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language