![]() |
Ignore everything between '<' and '>' and '&' and ';' using preg_replace?
Say I have this:
PHP Code:
Also, how can I make it where it will ONLY affect things between '<' and '>' and also '&' and ';'? Thanks. :) |
Take a look at this hack https://vborg.vbsupport.ru/showthrea...threadid=56589
|
That doesn't really have anything to do with what I need.
|
have you tried striptags() function as it's buildin in php? ^^
|
I'm not trying to strip the tags, I want it to make it where preg_replace will not replace anything within a tag or only replace things within a tag (I need to know how to do both). That way, If I replace the letter "A" with the letter "Y", I won't have <y href="http://www.blyh.tld">, when it should still be <a href="http://www.blah.tld">. Stripping it out completely won't help much. ;)
|
ahh sorry i missunderstood what you wanted :)
hmm, sorry can't help further, i'm really not goot in regular expr. |
All times are GMT. The time now is 03:43 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|