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
Solved

Regular Expression Alphanumeric field with * wildcard

Posted on 2008-10-22
2
429 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
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

If I have to fix slow responding website my first thoughts are server side optimizations: the database may not be optimized or caching is not enabled, or things like that. We often overlook another major part of our web application: the client. We o…
Thoughout my experience working on eCommerce web applications I have seen applications succumbing to increased user demand and throughput. With increased loads the response times started to spike, which leads to user frustration and lost sales. I ha…
This video teaches viewers how to create their own website using cPanel and Wordpress. Tutorial walks users through how to set up their own domain name from tools like Domain Registrar, Hosting Account, and Wordpress. More specifically, the order in…
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…

839 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