infor.com
concierge
infor u
developer portal
documentation central
customer center
Posts
Categories
Groups
ERPs
CSD
FSM/HRT
LN
M3
Syteline/ CSI
Hubs
Developer
Healthcare
Hospitality
Public Sector
Onboarding
Release Center
CloudSuites
Aerospace & Defense (LN)
Automotive (LN)
Chemicals (M3)
Corporate (FSM/HRT)
Distribution (Sx.e/CSD)
Distribution Enterprise (M3)
Engineering & Construction (LN)
Fashion (M3)
Food & Beverage (M3)
Healthcare (FSM/HRT)
Industrial (Syteline/CSI)
Industrial Enterprise (LN)
Manufacturing (M3)
Public Sector (FSM/HRT)
Solutions
Supply Chain Management (SCM)
Human Capital Management (HCM)
Events
Groups
User Groups
Your Groups
About
Email Community Support
Infor News
Migrated Forums
Home
Clovertech
Clovertech Archive
Read Only Archives
Cloverleaf
Cloverleaf
Another simply SMAT search question
System
Originally posted by Mark Perschbacher
Hey all, I using this script to find SMAT messages that exactly match last name Mueller
rPID(?:[^|]*|){5}(MUELLER^)
how would I alter it to find names that contain Mueller?
Find more posts tagged with
Clovertech
Comments
System
Originally posted by bill bearden
That is a little tougher. I expect someone else will come up with a better solution than this. But give it a shot and let us know if it worked. I don't know what your ?: does so maybe that could replace my mess. The mess of stuff I used is supposed to match all reasonable characters but pipe. I took the ^ out of it.
Exact match
rPID(?:[^|]*|){5}(MUELLER^)
MUELLER somewhere in the middle
rPID(?:[^|]*|){5}([A-Z,a-z,0-9,/,-, ]*MUELLER[A-Z,a-z,0-9,/,-, ]*^)
I don't think you need the parens around MUELLER^. I left them in. You need them around that first bit so the {5} is applied to the whole group of things in the parens.
System
Originally posted by Mark Perschbacher
Bill, thanks for replying. Well, I pasted that into the reg. expression window, but it didn't find it. I'll play around with it some more.
System
Originally posted by bill bearden
Can you post an example of a name you are trying to match?
Keith McLeod
How about
rPID(?:[^|]*|){5}([^||^]*MUELLER[^||^]*)
The ?: means non-capturing parentheses, otherwise matches in parentheses can be captured to ordered variables.
A downside to above would be that numbers and other characters around MUELLER will also satisfy the regular expression.
System
Originally posted by Mark Perschbacher
Keith, that did the trick, many thanks.