Solved

Please supply me regular expression for this code

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to identify a paragraph in the body of text? 2 53
Json and ajax 1 22
asp.net web app 3 25
Fastest way to get file count in MS Server 2012 3 11
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…
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

726 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