In reply to Re^3: Regex to match between [ref] and [/ref] by JavaFan in thread Regex to match between [ref] and [/ref] by ultranerds