+1 for regex. I still remember reading in the pragmatic programmer: "Pragmatic programmers master regular expressions."
Eventually I took a 30 day vow to do absolutely no text manipulation with anything but Regex. Now I, too can't put them down. I use regex for almost everything trxt parsing related. (everything except html, xml and JSON of course.)
+1 for regex. I still remember reading in the pragmatic programmer: "Pragmatic programmers master regular expressions."
Eventually I took a 30 day vow to do absolutely no text manipulation with anything but Regex. Now I, too can't put them down. I use regex for almost everything trxt parsing related. (everything except html, xml and JSON of course.)
stackoverflow.com/questions/173234...
A classic