|
|
Browse by Tags
All Tags » lookbehind
Showing page 1 of 2 (17 total posts)
-
I'm new to regex so please forgive if the solution is really simple.
I need a plain expression that matches or extracts (not sure if I'm using the correct terminology) a string of 8 digits from the end of a URL. I need to insert the expression into an off-the shelf software application that will compile various types of lists for ...
-
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 ...
-
Hi! I need a regexp that does the following:
For example we're having a string "abcmnbcxyz"
I need to build a regexp that will find everythig that goes before "z" but not containing "bc"
I was trying to use lookups like that one: "(?<!bc).*?z" but it matches whole string. positive ...
-
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 ...
-
Hi,
I have a problem trying to use the negative lookbehind in vb.net, as an example of what im trying to do, I am looking to match the word "FullText" where it is not preceded by "Me." Here is what I have came up with so far:
(?<!Me.*)FullText
An example of what I would like to avoid matching would ...
-
Hello, I am using C# in Visual Studio 2008. I have a text file of the entire Bible that I am wanting to either put into a database or write to an XML document. The format of the text is as follows with comments in C# single line comment style to the right of the actual text (example: Genesis //book ...
-
I have the following regex statement I'm trying to run in PHP.
(?<!(end\s?zone|lower|upper)\s?)(view)
Testing against the following string: (matches in bold)
"The endzone view goes hi upper view and he goes view and then goes view and view and view!!!"
Notice "upper view" and "endzone view" are ...
-
I'm using WOA pdf-Excel to extract values from a table. An example of a line in the table would be, say:
itemname 12,123 23,456 34,789
using lookbehind, I can easily extract the numbers using the regex (?<=itemname\s+(\d+,\d+\s+){n})\d+,\d+ where n=0,1,2 to extract the 3 numbers.
But, there's no ...
-
In the context of the regex dialect of XSLT 2.0, I am looking for two
"meta-regexes" that analyse other regexes. Each is discussed in a part
of its own.
(Part 1 posted as: Meta-regex for variable-length matching regexes (XSLT))
Part 2
Aim: A regex that provides for pre-calculating the length of the match
that a fixed-length matching ...
-
In the context of the regex dialect of XSLT 2.0, I am looking for two
"meta-regexes" that analyse other regexes. Each is discussed in a part
of its own.
(Part 2 posted as: Meta-regex to find fixed length of regex match (XSLT))
Part 1
Aim: A regex that would identify all those regexes that might yield
matches of varying length, as ...
1
|
|
|