Solved

Please supply me regular expression for this code

Posted on 2009-03-31
3
193 Views
Last Modified: 2012-05-06
Can any  one supply me regular expression for this code
if ((chrgDesc == "GST") || (chrgDesc == "FSC") || (chrgDesc == "F03") ||
                                    (chrgDesc == "F04") || (chrgDesc == "V01") || (chrgDesc == "V02") ||
                                    (chrgDesc == "V03") || (chrgDesc == "V06") || (chrgDesc == "V07"))

Open in new window

0
Comment
Question by:GouthamAnand
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 20

Accepted Solution

by:
informaniac earned 500 total points
ID: 24026906
(GST)|(FSC)|(F03)|(F04)|(V01)|(V02)|(V03)|(V06)|(V07)
0
 
LVL 15

Expert Comment

by:oobayly
ID: 24028256
You might want to make this small change, as it would return success if you tested for "xxxGSTxxx"

^(GST)|(FSC)|(F03)|(F04)|(V01)|(V02)|(V03)|(V06)|(V07)$
0
 

Author Closing Comment

by:GouthamAnand
ID: 31564725
Thankyou
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

724 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question