XpertWorlock Posted March 12, 2011 Share Posted March 12, 2011 trying to get a reg exp to work with any characters except certain words ex : www.adssa <-ignore as.ads <-capture Current code : ^([a-z]*(www))\. this captures www, I just can't figure out how to capture the opposite Link to comment https://forums.phpfreaks.com/topic/230443-anything-but-certain-words/ Share on other sites More sharing options...
XpertWorlock Posted March 12, 2011 Author Share Posted March 12, 2011 got it, in case people would like to know ^(?!www)([a-z]*)\. Link to comment https://forums.phpfreaks.com/topic/230443-anything-but-certain-words/#findComment-1186693 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.