Results 1 to 3 of 3

Thread: [RESOLVED] RegEx Help

  1. #1

    Thread Starter
    Hyperactive Member francisstokes's Avatar
    Join Date
    May 2005
    Location
    Kent, England
    Posts
    272

    Resolved [RESOLVED] RegEx Help

    I'm using a regex pattern to read strings from a file in this format:

    Code:
    "t": "vjVQa1PpcFOKNFsC_zQAH9gDvfcZko8idVlVXBrPPko="
    with this pattern:

    Code:
    Regex re = new Regex("((\"([t])\")(\s:\s)(\"(([A-Za-z0-9]{44})\")))");
    I haven't actually used regular expressions before, and i dont even think the pattern is set up right.
    Any pointers guys?

  2. #2

    Thread Starter
    Hyperactive Member francisstokes's Avatar
    Join Date
    May 2005
    Location
    Kent, England
    Posts
    272

    Re: RegEx Help

    Forget it. Came up with another way to do it.

  3. #3
    Smitten by reality Harsh Gupta's Avatar
    Join Date
    Feb 2005
    Posts
    2,938

    Re: [RESOLVED] RegEx Help

    What pattern you wish the string to convert to? Just curious. You didn't post the resultant string!

    Also, if you can share your idea and solution here.
    Show Appreciation. Rate Posts.

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