Today I’ve got two good tools for web developers.
- Java tester – really nice in that it gives accurate feedback on your regexp errors and even helps you format the matching text as a java String
Here’s a Java one – looks complicated, actually pretty straightforward. Anyone care to take a stab at what it does? 🙂
line = line.replaceAll(“[([bi])]([^*)[/1]”,”<$1>$2</$1>”);
(or can you do it better? I get by, but I know my regexps are sometimes clunky at best…)