3 ms·
First thing to do when writing regexes is to write them on multiple lines. Also, you should use comments. It will make them more readable and easier to follow.
by daGrevis 13y ago
First thing to do when writing regexes is to write them on multiple lines. Also, you should use comments. It will make them more readable and easier to follow. Also, I want to suggest Zed's Learn Regex The Hard Way.
http://regex.learncodethehardway.org/book/ http://regex.learncodethehardway.org/book/