Regex examples in java, php, javascript and c#