|
|
Browse by Tags
All Tags » lookbehind » lookaround
-
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 ...
-
I have a requirement where I have to fetch prefix in a text excluding right hand side digit pattern.
For ex: AB9T0005 should give me only AB9T
AB9T-K1A-0005 should give me only AB9T-K1A-
What I mean is prefix may include any input including numbers and other alpha numeric values.
With out using regular expression I will parse from right ...
-
Hello,
I wonder if you can help me, this is driving me crazy!
I have a large text file and I want to find a term in it.
But... I only want the regex to be successful if this term is NOT encompassed by square brackets.
e.g. this is the search term: sp_W_rev_CreditClient_RMAItems
I do not want this to be ...
|
|
|