REGEX-Escape for: Spend €50 and receive (1) €10 off €50 voucher, Spend...

Your Input:
Result, the escaped string:
Spend €50 and receive \(1\) €10 off €50 voucher, Spend €100 and receive \(2\)XXXX€10 off €50 vouchers\. Spend €150XXXXXXand receive \(3\) €10 off €50 vouchers, Spend €200 and receive \(4\) €10 offXXXX€50 vouchers

What must the escaping look like for:
Spend €50 and receive (1) €10 off €50 voucher, Spend €100 and receive (2)XXXX€10 off €50 vouchers. Spend €150XXXXXXand receive (3) €10 off €50 vouchers, Spend €200 and receive (4) €10 offXXXX€50 vouchers

The excaped text for use in a regex is:
Spend €50 and receive \(1\) €10 off €50 voucher, Spend €100 and receive \(2\)XXXX€10 off €50 vouchers\. Spend €150XXXXXXand receive \(3\) €10 off €50 vouchers, Spend €200 and receive \(4\) €10 offXXXX€50 vouchers


Ads