I am using a Joomla shortcode plugin which hunts out shortcode codes and replaces them with html content. It works well, that is, until the user inserts a linebreak at which point it fails. I believe it is something to do with the regex but knowing almost nothing about regex I cant see what. Here is the regex that finds my shortcode...I am using a Joomla shortcode plugin which hunt