2 Replies Latest reply on Apr 25, 2011 11:03 AM by miguel8312

    Simple Search withing string help

    miguel8312 Level 3

      hey guys this is a simple one but i like to stay away from a loop if possible.

      i have a string like this.

      "<person><uid>bob</uid></person>"

      i want to read the bob between the uid tags is there any easy way to do this using regexp or ay other method i have writers block here.

      Any help would be greatly appreciated. i should also metioned the string between <uid> and </uid> is variable length so i would really just like to read

      in between the uid tags.

      Thanks

      Miguel