4 ms·
The tutorial I learned regular expressions from, which is longer but more detailed than this one, was http://www.regular-expressions.info/ http://www.regular-ex
by roryokane 13y ago
The tutorial I learned regular expressions from, which is longer but more detailed than this one, was http://www.regular-expressions.info/ http://www.regular-expressions.info/. It’s free, thorough and well-organized. Its only flaw is that its section on support in various languages is out of date. It was written to sell a Windows-only regex tool, but it’s very non-pushy with the advertisements.
You can see a list of online regular expression testers for various languages at the Stack Overflow “regex” tag wiki, in the “Online sandboxes” section: http://stackoverflow.com/tags/regex/info http://stackoverflow.com/tags/regex/info. For JavaScript regexes, http://regexpal.com/ http://regexpal.com/ is easy to use.
- shirkey 13y agoAnother excellent resource, which I believe was highlighted a few years ago here on HN: http://regexone.com/ http://regexone.com/
- enscr 13y agoregular-expressions.info has been a good reference site for me. Another useful tool is an online regex checker. Out of a handful or so options, I find this the best : http://regex101.com/ http://regex101.com/?
- eurg 13y agoFor a non-online version of checking and analysing the structure of regexes, see http://www.weitz.de/regex-coach/ http://www.weitz.de/regex-coach/ It's excellent, and together with with regular-expression.info a way to learn regexes that at least worked for me.
- V-2 13y agoYeah, I mainly learned from this one, too