Solved

Please supply me regular expression for this code

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
coded character set iptc field within a jpeg 1 69
Allow space in this pattern 2 47
Export import database 4 42
C# HTTP GET method sample code 3 40
Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

910 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

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now