+ 1
What is the difference between ^,$ and \A,\Z in regular expressions.
2 Réponses
+ 3
Gita ,
here is a link to the python docs for regular expressions:
https://docs.python.org/3/howto/regex.html
some characters / tokens can mean different things:
for example, [^5] will match any character except '5', but in an other context ^ defines that matching should start at the beginning of a string.
a great tool to test and explore regex is the website:
regex101.com
0
^ it's syntax for begins with
$ for ends with
\ special characters operations