Need Regular Expression Help

  • Thread starter Thread starter Lee Grissom
  • Start date Start date
L

Lee Grissom

I want to parse the following string into 3 parts per match. I almost got
it, but my expression has a flaw in it.
I tried this, but didn't quite work the way I expect on the second match b/c
there's no space before the > symbol.

<§\s(.*?)\s*;?\s(.*?)\s*>(.*?)</§>

You must<§ Control.exe; Printers>add a printer</§> from the <§
Control.exe>control panel</§>.

Anyone know of a good forum to goto for help with regular expressions?

Thanks,
Lee
 

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


Back
Top