I help publish articles on history, archeology, toponymy, etc. The texts are scientific and they always have a lot of references to the literature used (anchors
I was testing the behavior of the Pattern.UNICODE_CHARACTER_CLASS flag for different punctuation characters and noticed that the matches for grave accent charac
I have the following regular expression which matches on all double quotes besides those that are escaped: i.e: The regular expression is as follows: ((?<![
I am trying to get all the word pairs out of a piece of text. I have the following regular expression (\w+) +(\w+) that I run on a piece of text with no punctua
import re text = "A random\string here" test = re.findall('(?<=A ).+\s', text) I want to print out everything from the end of "A" (excluding the space) to
Hello I have this string and I need extract from this some sub strings according some delimiters: string = """ 1538 a 123 skua456 789 5 g 15563 blu55g b 456 164
Have a set of string as follows text:u'MUC-EC-099_SC-Memory-01_TC-25' text:u'MUC-EC-099_SC-Memory-01_TC-26' text:u'MUC-EC-099_SC-Memory-01_TC-27' These data
I see this question has been posted multiple times but all of the examples I've tried are not working. I want to limit the search by keywords to only search for
I'm making a Scrabble game with HTML and Javascript and I'd like to add a "hint word" feature based on the player's rack. I have a dictionary array with the val
Requirement: I am receiving an email with a template and I need to filter out some text from the email. I am converting all the email body text as a string. ema
I'm trying to replace - character with _ inside a double curly brackets. Example inputs: Hello {{first-name}}, how are you? The event {{event-name-address}} Exa
I have this code that I'd like to transform: const createFacebookAdVideoPayload = { const accountId = faker.datatype.uuid(); const pu
I have a regex that looks like this to extract order numbers from columns: df["Orders"].str.extract('([0-9]{9,10}[/+ #_;.-]?)') The orders column can look like
I need to extract each word (phrase) within a cell in google sheets and put each one under the other in a column (row for each one). I have a regex code that w
I've set condition for when a user enters numbers into a text box depending on what the numbers entered start with on screen it should display the name of the c
I need a JavaScript method to allows me to convert the first letter of every word in a string to a capital letter like this: mike tyson wayne to Mike Tyson Wayn
I'm trying to make a regex to match unescaped comma characters in a string. The rule I'm looking for is "A comma not preceded by an even number of backslashes"
I am using VS Code. And I want to select all matches in italics preceding {:term}. Unfortunately VS code doesn't support lookbehind yet, so I am content with th
I've been trying to do a script that takes date inputs like 3/14/2015, 03-14-2015, and 2015/3/14 (using pyperclip to copy and paste) and modifies them to a sing
How to RegexReplace but only for number. I tried this formula, but it didn't go as I expected: =REGEXREPLACE(A2, ":<BR CLASS="""">[0-9]", ": [0-9]") Th