Jump to content

eregi_replace, regular expressions


salafoo

Recommended Posts

Hey, I was wondering if something like this was possible. using eregi_replace and regular expressions to search a string for swears that have spaces between the letters, for example: a s s .. using regex to search for a pattern of a s s regardless of if there's white space between them, so even a          s s would be found and censored.

 

Im sucky at regex

Link to comment
https://forums.phpfreaks.com/topic/168208-eregi_replace-regular-expressions/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.