Title: Disallowed characters with Insert PHP
Last modified: August 20, 2016

---

# Disallowed characters with Insert PHP

 *  [chriswooff](https://wordpress.org/support/users/chriswooff/)
 * (@chriswooff)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/disallowed-characters-with-insert-php/)
 * Hi I have been grappling with a problem whereby insert php causes my code to 
   be written out when the code is executed. I have isolated this fragment which
   is causing the issue:
 * [insert_php]
    $email_exp = “/^[A-Za-z0-9._%-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4}$/”;[/
   insert_php]
 * If you run this it should print nothing but it actually displays the above code.
 * Is there some character in the assignment statement which is causing this?

The topic ‘Disallowed characters with Insert PHP’ is closed to new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [chriswooff](https://wordpress.org/support/users/chriswooff/)
 * Last activity: [13 years, 2 months ago](https://wordpress.org/support/topic/disallowed-characters-with-insert-php/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
