Solved

Regular Expression Alphanumeric field with * wildcard

Posted on 2008-10-22
2
431 Views
Last Modified: 2012-06-27
Hi Experts,
       I have been trying to find Regular expressions for two fields but cannot find anything similar on the internet. I have one field which is varchar (alphanumeric) and it allows the * wildcard. The second field is a numeric field which also allows the * wildcard. The user should be able to enter both even if they dont know the complete item and be able to use the * wild card for search. I am not familiar with writing regular expressions can someone show me which ones would work for both these? Thanks in advance
0
Comment
Question by:groovbox303
[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
2 Comments
 
LVL 84

Accepted Solution

by:
ozo earned 250 total points
ID: 22779937
[\w*]*

[\d*]*
0
 

Author Closing Comment

by:groovbox303
ID: 31508891
thanks ozo work like a charm :)
0

Featured Post

What Is Transaction Monitoring and who needs it?

Synthetic Transaction Monitoring that you need for the day to day, which ensures your business website keeps running optimally, and that there is no downtime to impact your customer experience.

Question has a verified solution.

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

Using Quotation Marks in PHP This question (http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/Q_28217211.html) seems to come up a lot for developers who are new to PHP.  And it got me thinking, "How can we explain the rule…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to choose which pages of your form are visible to your users based on their inputs. The page rules feature provides you with an opportunity to create if:then statements for y…

691 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