• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 175
  • Last Modified:

Regular expressions in vb.net

what is the regex pattern for the list item ?
the example is given below:

A. this is a test document
    i. this is a test document
    ii. this is a test document
    iii. this is a test document

B. this is a test document
     a. this is a test document
     b. this is a test document

C. this is a test document
    1. this is a test document
    2. this is a test document

1. this is a test document
    1. this is a test document
    2. this is a test document

2. this is a test document
    i. this is a test document
   ii. this is a test document

3. this is a test document
   I. this is a test document
  II. this is a test document

A. this is a test document
  I. this is a test document
 II. this is a test document  



0
lword
Asked:
lword
1 Solution
 
Dave BrettVice President - Business EvaluationCommented:
What do you mean by list item

Do you want to parse anything before the "." ?

If so something like
^.+?\.

To find multiple lines set the pattern to Global & Multiline

Cheers

Dave


0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now