Results 1 to 2 of 2
  1. #1
    3 Star Lounger
    Join Date
    Apr 2003
    Location
    Calgary, Alberta
    Posts
    208
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Searching for a string (letters and numbers) (Word 2003)

    I am attempting to search for a string of characters similar to the following: 10.1(a)(iii). The following wildcard search string works for strings similar to 10.1(a): [0-9][0-9].[0-9]([abc])

    However, when I add the second ([abc]) it fails. I also tried using ([abc]){1,2} with no success. Any ideas on how I can use wildcards to find the string 10.1(a)(iii)?

    Thanx in advance... trish

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Searching for a string (letters and numbers) (Word 2003)

    The lower-case Roman numeral i is not in the range a-c. Roman numerals can use i (1), v (5), x (10), l (50), c (100), d (500) and m (1000). So you must either specify these characters or allow the entire alphabet.

    Strict: <code>[0-9]{2}.[0-9]([a-z])([ivxlcdm]{1,})</code>

    Sloppy: <code>[0-9]{2}.[0-9]([a-z])([a-z]{1,})</code>

Posting Permissions

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