?
Solved

Regular expressions in vb.net

Posted on 2005-03-14
3
Medium Priority
?
167 Views
Last Modified: 2010-04-17
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
Comment
Question by:lword
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 50

Accepted Solution

by:
Dave Brett earned 2000 total points
ID: 13552125
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
Six Sigma Control Plans
Suggested Courses

741 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question