You are viewing limited content. For full access, please sign in.

Question

Question

Regular Expressions to remove periods

asked on July 13, 2022 Show version history

I have users who submit forms and have to cite their business name. Workflow emails my staff and they cut and past the users business names in another platform. The names come in like: ABC Business, P.C.

The other platform does not like the names to end with a period. How do I use regular expressions to take out the periods so that when my processors cut/ paste the business names, we can eliminate the errors? 

0 0

Replies

replied on July 13, 2022

Here's a couple options:

  1. Remove all periods in the test string:   Pattern: [^.]*     Options: All Matches (combined with no spaces).

     
  2. Remove period at the end of the test string   Pattern: (.*)[.]$
1 0
You are not allowed to follow up in this post.

Sign in to reply to this post.