Jump to content

[SOLVED] PREG Replace


Matrixkid

Recommended Posts

Ive been trying for sometime now to replace everything between the following:

 

nbsp; Sport

nbsp; Team

 

I need everything replaced between those two.

I have tried:

([nbsp; Sport](.*?)[nbsp; Team]);

(nbsp; Sport.*?.nbsp; Team);

 

those were the main two, just different variants of each.

 

Anything would help at this points.

 

Thanks in advance!

Cheers

Link to comment
https://forums.phpfreaks.com/topic/89164-solved-preg-replace/
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.