Wrox Programmer Forums
|
BOOK: Beginning Regular Expressions
This is the forum to discuss the Wrox book Beginning Regular Expressions by Andrew Watt; ISBN: 9780764574894
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Regular Expressions section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 10th, 2007, 11:34 AM
Registered User
 
Join Date: Jan 2007
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Regex and Alphanumeric matching?

Anyone know the regular expression on matching alphanumeric values? The variable contains a-z and 0-9. I can create 2 regular expression in javascript to look for both all letters then all #s but was hoping for a single regex expression.

Its almost like im looking for and ampersand, so i could use:
/[a-z]+|\d+/
but this would match letters or numbers where in alphanumeric there has to be letters "AND" numbers.

Thanks







Similar Threads
Thread Thread Starter Forum Replies Last Post
Matching Numeric Strings with RegEx hugh@kmcnetwork.com VB How-To 3 October 7th, 2008 12:13 PM
Format a string of alphanumeric characteres hugoscp XML 8 September 21st, 2006 06:07 AM
Generation of alphanumeric random characters sajid_pk ASP.NET 1.0 and 1.1 Professional 1 May 10th, 2005 08:37 AM
Number and letters (alphanumeric values) jorluiseptor Classic ASP XML 0 April 22nd, 2005 03:07 PM
Javascript for an alphanumeric calculator gilgalbiblewheel Java GUI 0 September 13th, 2004 11:37 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.