Jerome Camacho

maybe the client dont want that 😢 is there any tricky would solve this issue

Jerome Camacho

@nightjarnz thanks 🙂 ahh yes it is SSv2 , i use docker as my environment, and it uses php5.6 should i downgrade it or upgrade it ?

nightjarnz

@Jerome Camacho The error is to do with the code, not the data. PHP is complaining about [] trying to be used as "" It's a notice level error, so not the end of execution. There should be more output beneath that message. Probably something to do with trying to run a Silverstripe 2 site on a more recent PHP version. I recommend updating as best you can, as soon as you can.

vanny

yeah, but the scrapper is running on 5000 records

I have this part

  1. <span[^<]*</span>

which will identify the two spans, I just need the output to remove them

Zac

^ Looks like it just needs the spans removed

vanny

any regex experts here 😛 im scrapping a site for import and need to pull out the html bloat on email addresses

  1. candice<span class="hd-form-field">ajk89;fjioasjdfwjepu90f30 v09u30r nv8704rhnv987rjl3409u0asu[amav084-8235 087307304u0[9fd0]] asf74 john 9@#83r8cva sarah [email protected]!$%#7h v7hgv 398#$&&^@7y9</span>@crosspg<span class="hd-form-field">ajk89;fjioasjdfwjepu90f30 v09u30r nv8704rhnv987rjl3409u0asu[amav084-8235 087307304u0[9fd0]] asf74 john [email protected]#83r8cva sarah [email protected]!$%#7h v7hgv 398#$&&^@7y9</span>.com