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.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
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
