Results 1 to 3 of 3
  1. #1
    5 Star Lounger st3333ve's Avatar
    Join Date
    May 2003
    Location
    Los Angeles, California, USA
    Posts
    705
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Re: Regular Expressions Exerciser (Word 2000)

    Thanks! That's a keeper. <img src=/S/cheers.gif border=0 alt=cheers width=30 height=16>

  2. #2
    Platinum Lounger
    Join Date
    Feb 2001
    Location
    Yilgarn region of Toronto, Ontario
    Posts
    5,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Regular Expressions Exerciser (Word 2000)

    <P ID="edit" class=small>(Edited by chrisgreaves on 27-May-08 03:43. Added example strings)</P>I wrote the little Regular Expressions Exerciser so that I could brush up on my skills before passing some of them on to the client .....

    Use your Tab key to flip between the two text boxes.
    Exiting the source string box clears the result.
    Exiting the regexp box evaluates the result.
    Attached Files Attached Files

  3. #3
    Platinum Lounger
    Join Date
    Feb 2001
    Location
    Yilgarn region of Toronto, Ontario
    Posts
    5,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Regular Expressions Exerciser (Word 2000)

    >Thanks! That's a keeper.
    Thanks, Steve. Like me. Simple, but works.
    I added (in the document body) some examples of strings, and u/l a newer version, then used <post:=285,052>post 285,052</post:> to obtain the table tags for this post.

    <table border=1><td valign=top>String to be searched</td><td valign=top>Mask</td><td valign=top></td><td valign=top>Greaves</td><td valign=top>Greaves</td><td valign=top>Literal characters</td><td valign=top>Gray</td><td valign=top>Gr[ea]y</td><td valign=top>Match any one of</td><td valign=top>B03</td><td valign=top>[A-P][0-9][0-9]</td><td valign=top>Match any one of</td><td valign=top>C04</td><td valign=top>[A-P][^0][0-9]</td><td valign=top>Not match</td><td valign=top>D05</td><td valign=top>wdd</td><td valign=top>Shortcuts</td><td valign=top>Cat</td><td valign=top></td><td valign=top>Match any single character</td><td valign=top>Draft dodger</td><td valign=top>^draft</td><td valign=top>Start of string</td><td valign=top>Dodger of draft</td><td valign=top>Draft$</td><td valign=top>End of string</td><td valign=top>Jupiter my @#$!%-cat companion</td><td valign=top>Cat|dog|mouse</td><td valign=top>Alternation</td><td valign=top>Colour</td><td valign=top>Colu?r</td><td valign=top>Optional</td><td valign=top>Html</td><td valign=top>Html*</td><td valign=top>Zero or more</td><td valign=top>Ascii</td><td valign=top>Asci+</td><td valign=top>One or more</td><td valign=top>Groovy!</td><td valign=top>Gro{2,2}vy</td><td valign=top>Specific count</td></table>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •