[XQuery Talk Mailing List Archive Home] [By Date] [By Thread] [By Subject] [By Author] [Recent Entries] [Reply To This Message]

Problem with regular expression with Xquery

David Carlisle davidc at nag.co.uk
Wed Feb 24 20:10:43 PST 2010

  Problem with regular expression with Xquery
On 24/02/2010 19:52, Kenneth Dougherty wrote:
> Hello,
> The following problem has me stumped, and I would be grateful for any help.
> I am using a regular expression to test if a document number is correct.
> The number can end with either ‘P,’ ‘&P,’ or it may not have an ending
> value outside of the regular number.
> For example, if a valid document number was 503-302, it could be
> 503-302P, 503-302&P, or just 503-302.
> The incorrect regular expression so far is: [0-9]{3}\-[0-9]{3}&P|P.




Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.