How to include apostrophe (‘), in the following regex expression in angular?
تبليغسؤال
يرجى شرح بإيجاز لمإذا تشعر أنك ينبغي الإبلاغ عن هذا السؤال.
Following is regex expression for an address field which can contain (.), apostrophe (‘), dash (-), number, (#), (@), ampersand (&), slash (/), and spaces.
But I am unable to add regex for an apostrophe (‘).
address: [”, [Validators.pattern(‘^[A-Za-z0-9- &@/#.]+$’)]],
أضف إجابة