Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
What is the difference between \Z and $ in Regular expressions?
Home
React Hooks
What is the difference between \Z and $ in Regular expressions?
asked
Aug 15, 2023
in
React Hooks
by
GeorgeBell
What is the difference between \Z and $ in Regular expressions?
regular-expression-interview-questions-answers
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Aug 15, 2023
by
GeorgeBell
\Z
-
Matches the end of the line. Not effecting the multiline mode.
Ex
:
Shiva\Z
Gummadidal Shiva
Regex classes by Gummadidal
Shiva
$
- Matches the end of the line.effecting the multiline mode.
Ex: Shiva$
Gummadidal Shiva
Regex classes by Shiva. Shiva is good teacher
Thanks to Shiva
[[:upper:]]
- Matches capital letters is equal to [A-Z].
Ex:
GUMMADIDALA
shiva
F
rom
H
yderabad,
I
ndia
...