regex help

  • Thread starter Darren Mar-Elia
  • Start date
D

Darren Mar-Elia

Hey all. I'm trying to use a .Net 2.0 regular expression to capture some
text that is surrounded by brackets [ ]. Since brackets are special
characters in regex, I haven't been able to successfully find a pattern that
captures all text in between [ and ]. In a given input string, there may be
several of these bracketed string that I need to pull out. Anyone with more
experience in this than I have a hint?

Thanks!

Darren
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Help with Regex 1
Regex in C# 4
regex question 1
Regex Help 1
Looking for a RegEx pattern 1
HowTo? RegEx - pattern to exclude the whole word 4
RegEx Help - particular anchors 2
Regex question (easy?) 5

Top