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- &@/#.]+$’)]],

‫أضف إجابة

تصفح
تصفح

مجهول يجيب