Results 1 to 2 of 2

Thread: Regular expression help!!!

  1. #1

    Thread Starter
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538

    Regular expression help!!!

    <tag><tag>123@#?</tag>

    Could anyone please give me a regular expression syntax which will pick up absolutely anything which could appear between <tag> and </tag> please>???

    I'm trying to use this, but it picks up the entire string (i.e. the first instance of <tag>, rather than just the "<tag>123@#?</tag>" string...
    Code:
    <tag>([\d\D\s\S\w\W]+)</tag>
    Thanks!!!

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

  2. #2
    I wonder how many charact
    Join Date
    Feb 2001
    Location
    Savage, MN, USA
    Posts
    3,704

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width