Need a little help with regexes in .NET menu

User Tag List

Results 1 to 2 of 2
  1. #1
    AsylioN's Avatar Active Member
    Reputation
    49
    Join Date
    Jun 2016
    Posts
    58
    Thanks G/R
    6/42
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Need a little help with regexes in .NET

    I have the following text
    Code:
    --------
    "The Karui savages claim the weapon was forged by their fire god.
    I'm rather inclined to believe them."
    - Fairgraves, Renowned Explorer
    --------
    Corrupted
    --------
    Has Challenger Weapon Effect
    I need a regular expression that matches the text between the first and second line (including those lines in the match), along with the text between second and third line, but not the text between first and third line. Any ideas? The following regex

    Code:
    (-{8}){1}[^\d]+(-{8}){1}
    matches the text between first and third line, which is not something I want. I need to somehow exclude the substring "--------" from the middle part of the regex.

    Need a little help with regexes in .NET
  2. #2
    AsylioN's Avatar Active Member
    Reputation
    49
    Join Date
    Jun 2016
    Posts
    58
    Thanks G/R
    6/42
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nevermind, got it:
    Code:
    (-{8})([^\d-]+[-]{0,7}[^\d-]+)(-{8})

Similar Threads

  1. Need help with my B-Net/SoR Acc.
    By Hanfidanfi in forum World of Warcraft General
    Replies: 15
    Last Post: 07-01-2013, 01:50 PM
  2. Replies: 6
    Last Post: 07-16-2008, 04:51 AM
  3. Need a little help with PayPal
    By spudman321 in forum WoW Scams Help
    Replies: 5
    Last Post: 07-11-2008, 11:30 PM
  4. need a little help with autoit
    By Demonshade in forum Community Chat
    Replies: 2
    Last Post: 07-27-2007, 05:20 AM
  5. i needs a little help
    By davidpro in forum Art & Graphic Design
    Replies: 2
    Last Post: 05-20-2007, 12:42 PM
All times are GMT -5. The time now is 10:44 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search