Just Great Software

Regex Buddy - Learn, create, understand, test, use and store regular expressions

 Introduction 

 

 Buy Now 

 Our Guarantee 

 Download 

 Testimonials 

 Contact Us 

 User Forum 

 

 Screen Shots 

 Live Demos 

 Regular Expressions 

 Features & Benefits 

 Programming 

 C# 

 Delphi 

 GNU BRE & ERE 

 Java 

 JavaScript 

 MySQL 

 Oracle Database 

 PCRE 

 Perl 

 PHP 

 POSIX BRE & ERE 

 PostgreSQL 

 Python 

 REALbasic 

 Ruby 

 Tcl ARE 

 VB6 & VB.NET 

 VBScript 

 wxWidgets 

 XML Schema 

 Linux 

 

 Press Resources 

 Version History 

 Newsletter 

 Affiliates 

 

 

PowerGREP - Find files and information or search and replace through files and folders
EditPad - Convenient, powerful and versatile text editor to edit all kinds of text files
Ace Text - Store, manage, edit and reuse text from a central location
HelpScribble - Full-featured help authoring tool for creating help files from start to finish
DeployMaster - Installation builder delivering your software with a good first impression
      

Easily Use Regular Expressions
to Create Flexible Types in XML Schema

XML Schema Pattern Facet

In XML schemas, you can use a regular expression with the "pattern" facet to restrict the values a type allows to certain regex matches. For this, the XML Schema standard defines its own regular expression flavor. This flavor is limited compared to the regex syntax used by .NET or Java. It is optimized for its intended use (input validation) and for easy implementation in custom hardware and software that needs to process XML at high speeds.

      
Only US$ 39.95
Windows 98, ME, NT4, 2000, XP and Vista
100% satisfied or money back

See How Easy Regex Patterns Can Be

First, use RegexBuddy to define a regex or retrieve a regexp saved in a RegexBuddy library. Rely on RegexBuddy's clear regex analysis, which is constantly updated as you build the pattern, rather than dealing with the cryptic regex syntax on your own. Detailed help on that syntax is always only a click away.

If you copied a regex written for another programming language, simply paste it into RegexBuddy, and select the original regex flavor. RegexBuddy will then automatically convert it to the XML Schema regex flavor when you generate an XML Schema snippet.

If you created a new regular expression, test and debug it in RegexBuddy before using it in your XML schemas. Test each regex in RegexBuddy's safe sandbox without risking precious data. Quickly apply the regex to a wide variety of input and sample data, without having to produce that input through your XML tools.

Finally, let RegexBuddy generate an XML snippet that you can copy and paste directly into whichever XML editor you use. Just choose what you want to use the regex for, and a fully functional code snippet is ready. You can change the names of types and attributes to suit your naming style or the current situation, which RegexBuddy automatically remembers.

Don't worry about properly replacing ampersands and angle brackets with XML entities. Just tell RegexBuddy what you want to do, and you will get the proper XML code straight away.

Let RegexBuddy Make Regex Easy for You

XML schema pattern validation using a regular expression

XML schema pattern validation using a regular expression


"I'm a software developer using BizTalk to process XML files. Recently we have had a project where over 250'000 XMLs had to be parsed before processing. RegexBuddy not only helped simplify the process, but was able to help me to optimize my statements to clean up the data so that we could process them effectively and correctly.

"Since using RegexBuddy, my Regular Expression skills have helped my career by becoming a knowledge source for regular expressions for within my office, and I get to still use it in my everyday work for complex find and replace expressions."

-- Dominic Zukiewicz
   14 June 2007, United Kingdom

 

 

Page URL: http://www.regexbuddy.com/xml.html
Page last updated: 15 June 2007
Site last updated: 18 August 2008

Published by Just Great Software Co. Ltd.
Copyright © 2004-2008 Jan Goyvaerts.
All rights reserved.