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.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
NSC | Using Special Characters in REGEXP Formula Patterns
Scenario
User needs to use a special character (such as period, asterisk, plus sign) in a REGEXP formula.
In REGEXP, special characters are used to define patterns for searching and matching within strings.
For example:
- Period (.): Matches any single character except newline.
- Asterisk (*): Matches zero or more occurrences of the preceding element.
- Plus Sign (+): Matches one or more occurrences of the preceding element.
Solution
To include special characters in a regular expression (REGEXP) formula in NetSuite Saved Search, you typically need to escape those characters with a backslash (\) to ensure they are treated as literals rather than special characters in the regular expression pattern.
Learn how to Refer A Member | Earn the Answer Accepter Badge | Be the Content Creator of the Quarter | Vote for the content you want to see!
Tagged:
0
