regular expression

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • John Smith

    #1

    regular expression

    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> ...

    ???


  • Matthew Lock

    #2
    Re: regular expression

    John Smith wrote:[color=blue]
    > 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> ...
    >
    > ???[/color]

    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.

    Comment

    Working...