Got more questions? Find advice on: ASP | SQL | XML | Windows
in Search
Welcome to RegexAdvice Sign in | Join | Help

Browse by Tags

All Tags » lookahead » delimit
  • Just matching in the middle of a string

    Hello,   I am trying to write a regex to match just with B2 and B3   String content = "aaaaaB1aaaaaXaaaaaB2aaaaaB3aaaaZaaaB4aaaa";   String regex = "(B[\\d]{1}?);    //this group matches with all B1, B2, B3 and B4  I would need to delimit the matching between the 'X' and the ...
    Posted to Construction Advice (Forum) by matias.blasi on January 27, 2010