Link to home
Start Free TrialLog in
Avatar of Caruso_eu
Caruso_eu

asked on

PHP removing string in URL's source

Hello,

i am currently making a script  which is stripping some data off an internet site. Now one of the lines are troubling me and those are the ones with current date in it.

I am sure i could strip those too with some universal command but i am not sure which one.

So string look like this:  <report date="2012-08-31" valid="2012-09-01">

I need to remove whole string and not just dates in it.

Thank you!
ASKER CERTIFIED SOLUTION
Avatar of acbxyz
acbxyz
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Caruso_eu
Caruso_eu

ASKER

Exactly what i needed!

Thank you!
Please post the URL of the internet site so we can see the source that you want to strip.  Then we can give you a tested code sample.

You can probably use this function:
http://us.php.net/manual/en/function.strip-tags.php#93567
Ray_Paseur : Thank you but solution to my problem was posted already!

Thank you!