I am trying to match a set of numbers that refer to items. The items may be separated by linebreak, a comma, a colon, a dash or a space. The items wou ...
I am trying to match a set of numbers that refer to items. The items may be separated by linebreak, a comma, a colon, a dash or a space. The items wou ...
I am looking to write a reg ex that picks up certain definitions in a contract that are separated by quotation marks. However, some of the definitions ...
I have a string which looks like: '[bla] asf bla qwr bla' where bla is unknown. I need to find all occurrences of bla (or something else). I can do it ...
I have written such regular expression: but it doesn't work because of backreferencing inside [^]. I looked for solution on this thread and wrote t ...
I have a string and I want to replace every 'i' that is NOT following/followed by any other i and replace it with 'z`. I know that there is negative l ...
The Enum I want to extract is like following: ... other code ... enum A { a, b=2, c=3, d//{x} } ... More Enums like the above. ... First, ...
I have this test text: When I try this: It doesn't match anything. But when I add: to the beginning, it matches something on each line. (I on ...
I'm looking for expressions between a period and a semicolon - this expression cannot itself contain periods or semicolons. Here is my regex so far. ...
I'm try to replace all numbers not in the comment section. Here is a sample of the file to fix: Basically, I would like to replace numbers in strin ...
EDITED TO MAKE QUESTION MORE CLEAR I've came up with the following regex to help me find expressions on the form >(0[1-9]|1[0-2])\-\d{4}:\d+(,\d{1 ...
I'm attempting to use Regex to extract a sub-domain from a url that follows a strict pattern. I want to only match urls with subdomains specified, so ...
I'm tryin to match any string containing STORE when it's NOT followed by HOUSE. I looked at this answer Postgres Regex Negative Lookahead but cannot g ...
Im creating a regex that searches for a text, but only if there isnt a dash after the match. Im using lookahead for this: Regex: Text[\s\.][0-9]*( ...
Using regex with negative lookahead I have to search a text file and identify a partially known line of text that is NOT followed by another partially ...
I am a Java developer and I am new to Regex, I have similar problem as here in Stackoverflow . I have 2 issues, SKIP does not work in Java I sta ...
I want to filter words which end on Model but do not end on ViewModel. There also needs to be at least 2 characters in front of Model So I thought ...
I want to look/parse for a unit (Pa, K, degC, °C) and want to make sure it is followed and preceded by something other than a letter because K, Pa or ...
I have a file with some content as wells as the two 'include' strings below: Substring "my_deployment_id" is a token I need to add to the second 'i ...
I have some HTML and I need to match a phrase "My Phrase" that is not inside an <a> tag. Phrases that should NOT match: Phrases that SHOULD ...
I am trying to get a regular expression that matches a string that does not contain a certain word and contains a certain character after the word tha ...