testing= testing.match(/(\d{5})/g); I'm reading a full html into variable. From the variable, want to grab out all numbers with the pattern of exactly 5 digit
I have the below regex here which is written to support the PRCE/PRCE2 format. However, this throws the following error “Evaluation takes too long. Please
I am trying to match a word which has no special characters attached at both front and back. The regex I have written is /\btest\b/gi
I have a text and I need to match all text parts except given words with regexp For example if text is ' Something went wrong and I could not do any
I want to match all \fn tags with the following font name, so for : \fnArial\i1 \fnArial \b1\fnArial) \t(\fnJester (BIG)) \t(\fnJester (BIG))\i1 \t(\fnJest
I have the regex 1(0*)1 and the test string 1000010001 I want to have 2 matches, but I find that only 1 gets found : var regex = new Regex("1(0*)1"); var valu
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