Parker Software Ltd Homepage
Forum Home Forum Home > ThinkAutomation Business Process Automation > ThinkAutomation Version 4
  New Posts New Posts RSS Feed - Look for items containing brackets / braces?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Look for items containing brackets / braces?

 Post Reply Post Reply
Author
Message
Nexent1 View Drop Down
New User
New User
Avatar

Joined: 24 Jun 2010
Location: Mississauga
Points: 37
Post Options Post Options   Thanks (0) Thanks(0)   Quote Nexent1 Quote  Post ReplyReply Direct Link To This Post Topic: Look for items containing brackets / braces?
    Posted: 10 May 2019 at 10:17am
I am parsing an email where many of the elements include braces / brackets

eg.  Letter (8.5x11) or A4 (210x297mm)

I need to Look for these entire strings.  I can separate these and look for Letter then 8.5x11, but I need to look for a sub group first.  When I include this entire string it seems the brackets () are confusing the parser.

Is there a way to include these brackets in the 'Look for' field?

Robert
Back to Top
Nexent1 View Drop Down
New User
New User
Avatar

Joined: 24 Jun 2010
Location: Mississauga
Points: 37
Post Options Post Options   Thanks (0) Thanks(0)   Quote Nexent1 Quote  Post ReplyReply Direct Link To This Post Posted: 10 May 2019 at 1:30pm
Looks like I may have found a way to do this.  I am using the period so it will detect any character in that position.  This seems to be working.  If there is a better approach, please let me know.

Robert
Back to Top
paul.oconnor View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 Dec 2015
Location: US
Points: 40
Post Options Post Options   Thanks (0) Thanks(0)   Quote paul.oconnor Quote  Post ReplyReply Direct Link To This Post Posted: 10 May 2019 at 2:37pm
Hi Robert,

You may also try using regular expression to locate the full strings.

ex. \d*\.\d[a-z][0-9][0-9] for 8.5x11 and [0-9][0-9][0-9][a-z][0-9][0-9][0-9][a-z][a-z] for 210x297mm

For more information on regular expression see: https://www.thinkautomation.com/help/regular_expressions.htm
Paul O
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.05
Copyright ©2001-2016 Web Wiz Ltd.

This page was generated in 0.078 seconds.