Skip to content

amarrical/RegexSimplified

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Have you ever thought regex was hard? Have you ever wished there was an easier way to do it?

Come with me as I teach you how to both be better at regex and also do powerful things by keeping your queries simple. How do we do that? The same way we eat an elephant: one bite at a time.

RegexSimplified

Doing complicated regex work with multiple simple regex matches

Example files end in name.example.txt Matching regex patterns (single vs step) are contained in name.regex.(single|step).txt

Regexes are shown as: Regex -> replacement Note that any replacement surrounded by () is blank, and if there is text in the replacement it is explanatory. ([\w\s]*) is an invalid replacement anyway. In some cases, the grave accent will be used to surround regexes or replacements which start or end with spaces

Useful sites: http://www.regular-expressions.info/ - learning http://regexpal.com/ - testing regexes https://regex101.com/ - testing regexes http://regexper.com/ - visualizing regex http://jsonlint.com/ - validating json (for one example)

About

Doing complicated regex work with multiple simple regex matches

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages