I receive different date patterns in APIs. Is there any way to identify the date pattern of the string received in an API so that I can format them without thro
We use google calendar for reservations of several machines, and I am making graphs of the usage. I have a line to extract the titles of the calendars for plot
I have a string that is equal to stringnum. stringnum = "0007001369920090687073" I need to use regex to grab the first 9 digits after the first 3 zeros. I am u
I found topic Capturing group with findall? but unfortunately it is more basic and covers only groups that do not overwrite themselves. Please let's take a loo
I would like to check whether in a text there are a) three consonants in a row or b) four identical letters in a row. Can someone please help me with the regula
for a personal project I want to prefix folder and file names with an index. The goal is to have every childitem name remain the same except for the prefix. My
I was testing something with lexer, and wrote this regex rule:[0-9([a-b])[c-f]] ; According this docs, this is equivalent to:[0-9a-f()] ; For example, the foll
I know there are countless regex questions out there, but I was unable to find one that fits my situation. Suppose I have the following pathname: /u/some_user/c
How to extract words before the first punctuation | in presto SQL? Table +----+------------------------------------+ | id | title |
I am trying to remove pattern 'SO' from the end of a character vector. The issue I run into with the below code is that it will remove any sequence of 'SO' case
I would like to be able to enter the time in a javafx text field in the format hh:mm:ss. How would I go about formatting the text field? I already got the regex
I would like to be able to enter the time in a javafx text field in the format hh:mm:ss. How would I go about formatting the text field? I already got the regex
I am serving some services on an Ubuntu VM using Nginx 1.14.0. In my server definition, I'm including a location block designed to forward requests from /api/v{
I am serving some services on an Ubuntu VM using Nginx 1.14.0. In my server definition, I'm including a location block designed to forward requests from /api/v{
I'm new to regexes. I am using these regexes throughout my android project. Can any of these cause the catastrophic backtracking? To check for
I need to get the value of the given variable name without quotes(''). Is it possible with php? variableName='value' I think using preg_match
I want to check if a specific string is included in a GTM variable. The value of this variable is a first-party-cookie value decoded via URI looking like this:
I have a script where I am attempting to match a new jobtitle to an existing one in the database. SELECT a.title AS JobTitle, j.Description AS MatchedJobTitle
This is an example string: 123456#p654321 Currently, I am using this match to capture 123456 and 654321 in to two different groups: ([0-9].*)#p([0-9].*) B
I am looking for a way to split a string after every 3rd comma. I have found an old answer from 2013 Split a String at every 3rd comma in Java which I think is