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.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Update your Profile with your Support type to get your Support Type badge.
Don't miss out on our Pop Quiz! You only have until tomorrow, February 27, 2026, 12:00PM ET to comment your answers and earn rewards! Click here for more details.
Nominate Your Peers for NetSuite Support Community's Choice of the Quarter! Submit your nomination today.
No Limits. Just possibilities.
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
Try Intelligent Payment Automation – Fee Free For Your First Month

Intelligent Payment Automation, powered by BILL (aka Bill.com), lets you automate payments, manage vendor details, and bank account information within NetSuite.

The SuiteApp is available to organizations based in the U.S. with a valid U.S. address, or to global customers (except Canada, China, and Japan) with U.S. business subsidiaries. It only supports payments to vendors operating in the United States.

For more information, visit this thread.
Community Articles: What Topic Should We Cover Next? Your idea could be our next feature—drop your suggestion now and spark the next big discussion!

Regexp help - only want a portion of a entity

edited Dec 3, 2019 11:51AM in SuiteCloud / Customization 1 comment

UG,

We have auto numbering on our accounts. I am trying to use a regular expression to only retrieve the ID portion of Name/ID. I have a formula field where I've attempted to use LTRIM or RTRIM, and even REGEXP_SUBSTR to isolate the portion of the string that I want, but I'm running into troubles.

I've see the following out there: rtrim(regexp_substr({itemid},'[^:]*$')) and I've tried a modified version of this, but to no luck.

Essentially our naming convention looks like the following: ONV266188 ABC Company Inc.

All I want is the ONVxxxxxx portion. there can be a different amount of numbers after the letters ONV, so trying a SUBSTR expression won't work as (from what I can see anyway) there is no way to make the length variable. I've tried regexp_substr({entityid},'[ONV(0-9)]^*')) thinking that I only wanted the ONV number and the digits that follow it, but this only returned the letter 'O'. Also, not sure if I'm using the syntax correctly as my assumption was using the caret and the astrisk would be stating "start from the beginning of the string". But even without those characters

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!

Leaderboard

Community Whiz

Quarter 1 (Jan-Mar 2026)

This Week's Leaders

This Month's Leaders

All Time Leaders