Solved

Please supply me regular expression for this code

Posted on 2009-03-31
3
185 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
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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

803 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