RegularExpression Question

  • Thread starter Munsifali Rashid
  • Start date
M

Munsifali Rashid

Put it into a group using brackets:

You can then access the match in the Groups property of your regular
expression match.

Hope this helps,

Mun


--
Munsifali Rashid
http://www.munsplace.com/




Fabio said:
Hi all,

I have this simple string for example:

anything<font>catch this</font>

and I need a regularexpression to Catch "catch this"
so, I can use this pattern:

">[^<]+"

and the match returns ">catch this"

the question: HOW CAN I DO TO THE MATCH DO NOT RETURN THE STRING ">" ???

thanks in advance,
Fábio
 
F

Fabio

Hi all,

I have this simple string for example:

anything<font>catch this</font>

and I need a regularexpression to Catch "catch this"
so, I can use this pattern:

">[^<]+"

and the match returns ">catch this"

the question: HOW CAN I DO TO THE MATCH DO NOT RETURN THE STRING ">" ???

thanks in advance,
Fábio
 

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

Top