Jump to content

Not a whole word


gausie

Recommended Posts

Now this seems like something that would be useful in regex, so theres no doubt I'm missing something here, but I want to match something that isn't the word "hiya", within a sentence, but you cant use

 

([^hiya])

 

because that doesnt letter h, i, y or a be used.

 

How do i tell it only the whole word should be not allowed?

 

Sam

Link to comment
https://forums.phpfreaks.com/topic/42038-not-a-whole-word/
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.