Why does this js regex return true?
new RegExp('https://(www\.)?[^/]+\.[^/]+/@.+').test('https://www.a/@coolperson');
Regex for string with at least one digit AND at least one letter
I want to find with regex all occurences of a string (allowed letters and numbers) with at least one digit and at least one letter, with length between 6 and 9 (inclusive).
Extracting an ID from a filename that is optional and happens before a special character
I have a regex that parses filenames extracting an optional ID and a product name. It only works partially and I wonder why that is the case and how I would fix this.
RegEx for 3 characters and 7 numbers with no special characters
I am still learning to do regex, but this one gets me stumped for a while. I am trying to make a regex expression to match the strings like TOL1234567 or tol1234567. There should be ‘TOL’ at the first and then there will be 7 numbers after. No special characters are needed.
rRegular expression to match user defined pattern
I am in need to find out all strings that match like below pattern
Can I replace one char group by another using RegEx?
I want to replace “á” by “a”, “é” by “e”, etc…
Can I do this with single RegEx?
Need a regex to only grab the ticket number, and nothing else
I have mixed results and have been using regex101.com for testing.
Regex Greedy from right to left
I have this particular code example where I would like to replace all occurrences of
Regex split where # splits and \# does not
I need to split some text but means a single and is an indicator for a literal character. I have started with the following code but it is fooled by
Regex to detect maximum of two words after the matching point
Goal: I need a regex pattern to match and replace doctor names in medical reports with a substitution that includes the maximum of the next two words starting with a capital letter.