Difference between revisions of "Regular Expressions"

From rbachwiki
Jump to navigation Jump to search
(Created page with "==Regular Expression== '''literal value''' /my/ #myfile #amy #ammy ===Matches any character === . === Character Classes=== matches [abc] can be used to match any specific...")
(No difference)

Revision as of 00:35, 3 April 2019

Regular Expression

literal value

/my/
#myfile
#amy
#ammy

Matches any character

.

Character Classes

matches [abc] can be used to match any specific set of characters

negate when its in the bracket

[^eo]
^ # beginning of the line
$ # end of the line