Skip to main content
Question

Hi I need to remove new line in the result of my HTML extraction S.P. n. 1, S.P. n. 30, S.P. n. 245 the result must be S.P. n. 1, S.P. n. 30, S.P. n. 245 thx Francesco


checcosisani
Contributor
Forum|alt.badge.img+12
Hi I need to remove new line in the result of my HTML extraction S.P. n. 1, S.P. n. 30, S.P. n. 245 the result must be S.P. n. 1, S.P. n. 30, S.P. n. 245 thx Francesco

3 replies

dustin
Influencer
Forum|alt.badge.img+30
  • Influencer
  • October 31, 2022

You can use the StringReplacer in the Text Editor.

imagePressing enter will place a Line Feed characterimageIn your Replacement Text parameter, you can try leaving it blank to see if it returns the correct results. You may have to enter a space here.


f.kemminje
Contributor
Forum|alt.badge.img+11
  • Contributor
  • November 1, 2022

@checcosisani​ use string replacer and use regular exp to replace return or new line key to nULL.

regular expression : \\r?\\n|\\r/g

scr shot for regular exp


checcosisani
Contributor
Forum|alt.badge.img+12
  • Author
  • Contributor
  • November 1, 2022

Hi

 

thx for Quick feedback

I have another issue ..

I tried to extract data rom this website

Lavori in corso da lunedì 31 ottobre | Comune di Bologna

imageIn detail I need the p inside class nrc-template-news__description nrc-template-news__description--pre but I'n not able to find the correct css

 

thx

 

Francesco

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings