# How to escape special characters in Designer

What do we do when we encounter a special character and we have to assert it in a designer script ?

Lets take the below Example:

User navigates to the Apple website and tries to do a assert on iphone page and finds that the iphone 7 has special character " just before 7. So the user now has to assert iPhone"7 which contains a special character just before 7.

We can "\\" to escape the special character and run the script successfully.

 ![](https://docs.appvance.net/uploads/images/gallery/2026-07/scaled-1680-/VYvRyqFjstu0oJCA-b5d9416e81f7.png)

For characters that are usually treated specially, '\\' indicates that the next character is not special and should be interpreted literally.

<div id="bkmrk-last-updated%3A-june-2">---

Last updated: <span class="mc-variable General.NewDateTimeVariable variable">June 26, 2023</span>

If you have any feedback on this topic, please contact us at <documentation@appvance.ai>

</div>