Title: preg_replace regular expresion help
Last modified: August 19, 2016

---

# preg_replace regular expresion help

 *  [bacho93](https://wordpress.org/support/users/bacho93/)
 * (@bacho93)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/preg_replace-regular-expresion-help/)
 * Well, if anybody could tell me the final code for making something like this
 * There original text:
 * <code lang=”*”>
    To: [code lang="*"]
 * And
 * To
    [/code]
 * Pretty simple I guess, but I dunno about regular expresions
 * Thanks in advace

Viewing 1 replies (of 1 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/preg_replace-regular-expresion-help/#post-1129789)
 * Try [The Regular Expression Library](http://www.regexlib.com/).

Viewing 1 replies (of 1 total)

The topic ‘preg_replace regular expresion help’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [16 years, 10 months ago](https://wordpress.org/support/topic/preg_replace-regular-expresion-help/#post-1129789)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
