Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 5395 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I am trying to clean up text that contains some html code. How do I remove multiple occurrences of “< any characters >”?

I am currently using a calc field containing:

Let ( text= Trim(Substitute ( Descriptiton__lxt ;

[" *" ;"¶" ];

["*" ;".¶" ];

[""" ;"'" ] ;

["’" ;"'" ];

["

Posted

oops...

I am trying to clean up text that contains some html code. How do I remove multiple occurrences of “< any characters >”?

I am currently using a calc field containing:

Let ( text= Trim(Substitute ( Descriptiton__lxt ;

[" *" ;"¶" ];

["*" ;".¶" ];

[""" ;"'" ] ;

["’" ;"'" ];

["�" ;"®" ];

["™" ;"™" ];

["%" ;"%" ];

["?" ;"/" ]

)

)

& "." ;

Case(

// remove leading paragraph character.

Left(text; 1)="<";Right(text; Length(text)-5);

Left(text; 1)=".";Right(text; Length(text)-5);

text

))

Sample data:

The hat is made from durable, 100% polyester and the mask is made of 90% polyester and 10% spandex that stretches for a comfortable fit. The Carhartt logo label appears on the front.

Read more about our high-visibility line. *Polyester/spandex blend *Pull-down face mask *One size fits all

Posted

You'll need a recursive function to do this. Look on BRian Dunning's web site.

This topic is 5395 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.