Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Please note that on Saturday, April 11, 2026, at 8:00 PM Pacific time, our Case Management System will undergo a scheduled maintenance for approximately 30 minutes. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
Regexp Substring in Workflow
Hi
I have the following patterns of strings that I am trying to extract using a regexp_substring formula in a workflow:
"Our purchase order no is 2152456"
"PO 2154548"
"Our PO is 124548"
The text string will always be "our purchase order; PO or our po"
This sentence will be in the middle of a body of text.
I am trying to extract the numbers after the text pattern up till the first blank space or full stop.
i.e. I am trying to extract 2152456 for the first example, 2154548 in the second example and 124548 in the third example.
The Regexp_substring formula I am using is:
0