Regular Expression can be drepressing thing to learn
Some sole sucking regular expression and details regarding that
Regular expression
Meta character: All together 11 are there
[, \,^,$, ., |, ?, *, +, ( ,),-
- Defines Range
* repeat more than once
^
Typing a caret after the opening square bracket will negate the character class. The result is that the character class will match any character that is not in the character class. q[^x] matches qu in question. But if you give qxdas it will not match
- \d Matches a non Single character which is a digit
- \w matches a word
if these characters needs tobe used in reg ex then we need to provide escape character