regular expression

J

John Smith

how to do in order to retrieve the content between '<AAA>' and </AAA>

let's say the text is :

<AAA>a</<AAA><BBB><AAA>ab</AAA></BBB> ...

???
 
M

Matthew Lock

John said:
how to do in order to retrieve the content between '<AAA>' and </AAA>

let's say the text is :

<AAA>a</<AAA><BBB><AAA>ab</AAA></BBB> ...

???

Do you really mean: "</<AAA>", or was that a typo? Anyway it looks like
you are trying to parse HTML or XML. I would recommend using the DOM
functions in your browser from Javascript instead.
 

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

Members online

No members online now.

Forum statistics

Threads
473,794
Messages
2,569,641
Members
45,353
Latest member
RogerDoger

Latest Threads

Top