It is not possible to find what is missing we can just show valid or invalid. Add a note to help users understand the format.
Below is the regular expression with example that works in the scenario
Regular Expression
\+[0-9]{1,3}-[0-9]{3}\-[0-9]{7}
Example
<input id = "txtFax" type="text" />
<input type="button" onclick="ValidateFax()" value="Validate" />
<script type = "text/javascript">
function ValidateFax() {
var regex = new RegExp("\\+[0-9]{1,3}-[0-9]{3}\\-[0-9]{7}");
if (regex.test(document.getElementById("txtFax").value)) {
alert("Valid");
} else {
alert("invalid");
}
}
</script>
Demo