Improving regex, displaying value