Gang Of Coders
Home
About Us
Contact Us
All Regex Solutions on Gang of Coders
Total of 1192 Regex Solutions
Regular expression to match a line that doesn't contain a word
Regex
Pattern Matching
Regex Negation
\d less efficient than [0-9]
C#
Regex
Performance
Java how to replace 2 or more spaces with single space in string and delete leading and trailing spaces
Java
Regex
String
Replace
How to use JavaScript regex over multiple lines?
Javascript
Regex
Searching for UUIDs in text with regex
Regex
RegEx: Grabbing values between quotation marks
Regex
Match text between two strings with regular expression
Python
Regex
Python 2.x
Find "one letter that appears twice" in a string
Python
Regex
Python 2.7
regex to find a pair of adjacent digits with different digits around them
Python
Python 3.x
Regex
Matching an optional substring in a regex
Regex
How can I use a variable in the replacement side of the Perl substitution operator?
Regex
Perl
Substitution
Match at every second occurrence
Regex
How do I return only the matching regular expression when I select-string(grep) in PowerShell?
Regex
Powershell
Grep
Tilde operator in Regular expressions
Php
Regex
Pcre
Replace URLs in text with HTML links
Php
Regex
Url
Preg Replace
Linkify
How can I invert a regular expression in JavaScript?
Javascript
Regex
Regular expression for a string literal in flex/lex
C
Regex
Lex
String Literals
Flex Lexer
Extract string from string using RegEx in the Terminal
Regex
Bash
Grep
Ruby global match regexp?
Ruby
Regex
Replace specific characters within strings
R
Regex
Replace
Gsub
String Substitution
Split a string by spaces -- preserving quoted substrings -- in Python
Python
Regex
Passing regex modifier options to RegExp object
Javascript
Regex
String
Python regular expressions OR
Python
Regex
How to use named groups when performing a Regex.Replace()
C#
Regex
Replace
Regex number between 1 and 100
Regex
String
Extracting pairs of words using String.split()
Java
Regex
String
Split
Find lines not starting with " in Notepad++
Regex
Notepad++
R dplyr: rename variables using string functions
Regex
R
Rename
Dplyr
Regex with replace in Golang
Regex
Go
Capture groups with Regular Expression (Python)
Python
Regex
Regex: Check if string contains at least one digit
Regex
How to parse HTML with PHP?
Php
Html
Regex
Html Parsing
What's the difference between () and [] in regular expression patterns?
Regex
How do I get the YouTube video ID from a URL?
Javascript
Regex
Url
Youtube
Regex exec only returning first match
Javascript
Regex
PHP regular expression - filter number only
Php
Regex
Are Perl regexes turing complete?
Regex
Perl
Turing Complete
Javascript/jQuery: Split camelcase string and add hyphen rather than space
Javascript
Regex
Split
Camelcasing
Forward slash in Java Regex
Java
Regex
Regular expression for valid filename
C#
Regex
Regex: match pattern as long as it's not in the beginning
Regex
Regex Negation
Regex to split a CSV
Regex
Csv
Asp Classic
Split
Quotes
Can not extract the capture group with either sed or grep
Regex
Linux
Sed
Grep
validate natural input number with ngpattern
Angularjs
Regex
Angularjs Validation
Extract hostname name from string
Javascript
Jquery
Regex
Why is `\s+` so much faster than `\s\s*` in this Perl regex?
Regex
Perl
Regex Greedy
"Variable length lookbehind not implemented" but it isn't variable length
Regex
Perl
Finding a DOI in a document or page
Regex
Doi
Is there an online RegexBuddy-like regular expression analyzer?
Regex
R:how to get grep to return the match, rather than the whole string
R
Regex
Java: Split string when an uppercase letter is found
Java
Regex
String
regular expression for Indian mobile numbers
Regex
how to make vim show ^M and substitute it
Regex
Vim
Matching numbers with regular expressions — only digits and commas
.Net
Regex
Numbers
Matching
Validate a file name on Windows
Java
Regex
Windows
String
Filenames
grep: group capturing
Regex
Linux
Bash
Grep
Regex and ISO8601 formatted DateTime
Javascript
Regex
Datetime
Iso8601
Comma Separated Numbers Regex
Regex
How to match digits in regex in bash script
Regex
Bash
Passing a function to re.sub in Python
Python
Regex
How to do named capture in ruby
Ruby
Regex
apache HTTP:X-Forwarded-Proto in .htaccess is causing redirect loop in dev environment
Regex
Amazon Web-Services
Apache
.Htaccess
Mod Rewrite
Extract src attribute from img tag using BeautifulSoup
Python
Regex
Beautifulsoup
How to change lower case to upper using regular expressions in Visual Studio Code
Regex
Visual Studio-Code
Groovy syntax for regular expression matching
Regex
Groovy
How can I replace multiple empty lines with a single empty line in bash?
Regex
Bash
Extract parameter value from url using regular expressions
Javascript
Regex
Url
Can I turn on extended regular expressions support in Vim?
Regex
Vim
Command Line
javascript regex : only english letters allowed
Javascript
Regex
How do I replace or find non-printable characters in vim regex?
Regex
Vim
Non Printable
Vim Regex : How to search for A AND B NOT C
Regex
Vim
How to create a regex that will match an arbitrary sequence of spaces and tabs
Regex
Regex for 1 or 2 digits, optional non-alphanumeric, 2 known alphas
C#
Regex
Grep
Return true/false for a matched/not matched regex
Javascript
Regex
Powershell: match operator returns true but $matches is null
Regex
Powershell
Regular expressions in a Bash case statement
Regex
Bash
Case
Glob
What is a regex to match a string NOT at the end of a line?
Ruby
Regex
In Python, how do I split a string and keep the separators?
Python
Regex
Escaping regex string
Python
Regex
Django url pattern - string parameter
Python
Regex
Django
Efficient regex for Canadian postal code function
Javascript
Regex
How to replace comma with a dot in the number (or any replacement)
Javascript
Regex
Replace
Jscript
Sublime Text: Regex to convert Uppercase to Title Case?
Regex
String
Sublimetext
Sublimetext3
JavaScript Regex Global Match Groups
Javascript
Regex
Pattern Matching
Detect if a string contains uppercase characters
C#
Regex
String
Using named matches from Go regex
Regex
Go
Replace slash in Bash
Regex
Linux
Bash
Tr
Slash
Regular Expression only match if String ends with target
Regex
select columns based on multiple strings with dplyr contains()
R
Regex
Dplyr
Matching
Multiple Matches
Why is this regex allowing a caret?
Regex
How do I use a regex in a shell script?
Regex
Bash
Shell
How do I do a partial match in Elasticsearch?
Json
Regex
Parsing
Url
Elasticsearch
RegEx for Javascript to allow only alphanumeric
Javascript
Regex
Search in VS Code for multiple terms
Regex
Search
Visual Studio-Code
Replace the last part of a string
Java
Regex
String
Replace
Regex: match word that ends with "Id"
C#
Regex
How does MatchEvaluator in Regex.Replace work?
C#
.Net
Regex
Replace
Matchevaluator
Does .NET Regex support global matching?
C#
.Net
Regex
Code Golf: Regex parser
Regex
Language Agnostic
Code Golf
Rosetta Stone
Javascript Regexp - Match Characters after a certain phrase
Javascript
Regex
Check if a string matches a regex in Bash script
Regex
Bash
Shell
Scripting
How can I add a string to the end of each line in Vim?
Regex
Vim
Replace
Match
Split on different newlines
Ruby
Regex
Split
Newline
Negating a backreference in Regular Expressions
Regex
Backreference
Regex Group
Negate
Split string on commas but ignore commas within double-quotes?
Python
Regex
Csv
Split
Double Quotes
Get the extension of a file contained in an NSString
Iphone
Objective C
Regex
Ios5
Nsstring
Support of \K in regex
Regex
Regex for youtube URL
Regex
Youtube
How can I match overlapping strings with regex?
Javascript
Regex
regex match any whitespace
Php
Regex
Matching a space in regex
Php
Regex
Detect strings with non English characters in Python
Python
Regex
Non English
match Vs exec in JavaScript
Javascript
Regex
[A-z0-9]+ regexp matching square brackets
Regex
?: Notation in Regular Expression
Regex
converting RegExp to String then back to RegExp
Javascript
Regex
Regex to match alphanumeric and spaces
C#
Regex
Efficiently querying one string against multiple regexes
Regex
Algorithm
Pcre
MySQL strip non-numeric characters to compare
Mysql
Regex
Practical non-Turing-complete languages?
Regex
Finite Automata
Turing Complete
Halting Problem
Simple regular expression for a decimal with a precision of 2
Regex
How to split a string, but also keep the delimiters?
Java
Regex
SELECT only rows that contain only alphanumeric characters in MySQL
Mysql
Regex
Regular Expression for formatting numbers in JavaScript
Javascript
Regex
Formatting
RegEx to select everything between two characters?
Regex
Create a case-insensitive regular expression from a string in Ruby
Ruby
Regex
PHP - regex to allow letters and numbers only
Php
Regex
Preg Match
Find the index of the first digit in a string
Python
Regex
String
Split string by delimiter, but not if it is escaped
Php
Regex
Preg Split
How to use regex OR in grep in Cygwin?
Regex
Cygwin
Grep
How to split long regular expression rules to multiple lines in Python
Python
Regex
How to write regular expressions in Objective C (NSRegularExpression)?
Objective C
Ios
Regex
Nsregularexpression
Javascript RegExp + Word boundaries + unicode characters
Javascript
Regex
Unicode
Remove all special characters with RegExp
Javascript
Regex
Special Characters
Regex for allowing alphanumeric,-,_ and space
Javascript
Jquery
Regex
Remove numbers from alphanumeric characters
Regex
R
Removing everything except numbers in a string
Javascript
Regex
Vim positive lookahead regex
Regex
Vim
Faster way to remove stop words in Python
Python
Regex
Stop Words
Reference - What does this regex mean?
Regex
Confusing output from String.split
Java
Regex
String
Class
Core
Laravel preg_match(): No ending delimiter '/' found
Php
Regex
Laravel
Laravel 4
Regexp Replace
How to implement a regex for password validation in Swift?
Ios
Swift
Regex
Validation
Match correct addition of two binary numbers with PCRE regex
Regex
Pcre
Template literal inside of the RegEx
Javascript
Regex
Template Literals
Regular Expression to exclude set of Keywords
Regex
Regex Negation
$1 and \1 in Ruby
Ruby
Regex
How to replace a plus character using Java's String.replaceAll method
Java
Regex
Find out how many times a regex matches in a string in Python
Python
Regex
How to extract domain name from url?
Regex
Bash
Url
C# Regex Split - commas outside quotes
C#
Regex
Regex: Determine if two regular expressions could match for the same input?
Regex
Java regex replaceAll multiline
Java
Regex
Replaceall
Remove not alphanumeric characters from string
Javascript
Regex
Regular expression for 10 digit number without any special characters
C#
.Net
Regex
RegEx for an IP Address
C#
.Net
Regex
Python TypeError on regex
Python
Regex
Python 3.x
Typeerror
Negative regex for Perl string pattern match
Regex
Perl
Escaped Periods In R Regular Expressions
Regex
R
sed: Can my pattern contain an "is not" character? How do I say "is not X"?
Regex
Sed
Returning a regex match in VBA (excel)
Regex
Excel
Vba
Regex pattern for HH:MM:SS time string
Regex
Expression
Hour
Seconds
Minute
sed - how to do regex groups using sed
Regex
Linux
Sed
Convert result of matches from regex into list of string
C#
.Net
Regex
Python re.sub(): how to substitute all 'u' or 'U's with 'you'
Python
Regex
Matching special characters and letters in regex
Javascript
Regex
Special Characters
regular expression for finding 'href' value of a <a> link
C#
Regex
Replacing accented characters with plain ascii ones
Javascript
Regex
String
Utf 8
How to replace captured groups only?
Javascript
Regex
Is there a way to do negative lookahead in vim regex?
Regex
Vim
Negative Lookahead
Using more than one flag in python re.findall
Python
Regex
Python Re
How do I replace a newline in Atom?
Regex
Atom Editor
What does '\K' mean in this regex?
Regex
Bash
Grep
Disable Unnecessary escape character: \/ no-useless-escape
Regex
Reactjs
Eslint
Why is this regular expression so slow in Java?
Java
Python
Regex
Performance
Perl
How is the AND/OR operator represented as in Regular Expressions?
Regex
Operators
Get Substring between two characters using javascript
Javascript
Regex
String
Substring
Regular expression to match non-ASCII characters?
Javascript
Jquery
Regex
Difference between matches() and find() in Java Regex
Java
Regex
How to extract a substring from a .NET RegEx?
C#
.Net
Regex
Fuzzy Regular Expressions
Regex
String
Fuzzy Search
Fuzzy Comparison
Tre Library
Why does sed require 3 backslashes for a regular backslash?
Regex
Sed
Regex Group in Perl: how to capture elements into array from regex group that matches unknown number of/multiple/variable occurrences from a string?
Regex
Perl
Grouping
Match
Regular Expression Rules in Outlook 2007?
Regex
Vba
Vbscript
Outlook
Outlook 2007
Python: Regular expression to match alpha-numeric not working?
Python
Regex
regular expression to match exactly 5 digits
Javascript
Regex
Match
Digit
R: Find the last dot in a string
Regex
R
Remove style attribute from HTML tags
Php
Regex
Tinymce
Detect and extract url from a string?
Java
Regex
Url
Best way to convert IEnumerable<char> to string?
.Net
Regex
Performance
Performance Testing
Get the string within brackets in Python
Python
Regex
Brackets
PHP Regex to Remove http:// from string
Php
Regex
Regular expression to validate US phone numbers?
Javascript
Regex
Split by Caps in Javascript
Javascript
Regex
Split
Regex JavaScript image file extension
Javascript
Regex
Image
How to use regex to parse a number from HTML?
Python
Regex
Variable-length lookbehind-assertion alternatives for regular expressions
Php
Javascript
Python
Regex
Perl
Greasemonkey/ Tampermonkey @match for a page with parameters
Javascript
Regex
Greasemonkey
Tampermonkey
Userscripts
Remove all special characters and case from string in bash
Regex
Linux
Bash
Shell
Parsing
Why does this take so long to match? Is it a bug?
Python
Regex
Performance
State Machine
How do I remove first 5 characters in each line in a text file using vi?
Regex
Unix
Text
Command
Vi
Interactive search/replace regex in Vim?
Regex
Vim
How to wrap part of a text in a node with JavaScript
Javascript
Html
Regex
Algorithm
java.util.regex.PatternSyntaxException: Dangling meta character '+' near index 0 +
Java
Regex
Negative matching using grep (match lines that do not contain foo)
Regex
Grep
Regex to match any character including new lines
Regex
Perl
Replace multiple strings with multiple other strings
Javascript
node.js
Regex
String
Replace
JavaScript regex multiline text between two tags
Javascript
Regex
Splitting string with pipe character ("|")
Java
Regex
Javascript replace with reference to matched group?
Javascript
Regex
Java: splitting a comma-separated string but ignoring commas in quotes
Java
Regex
String
Split large string in n-size chunks in JavaScript
Javascript
Regex
String
Split
How do I access named capturing groups in a .NET Regex?
C#
.Net
Regex
AWK: Access captured group from line pattern
Regex
Awk
How to match, but not capture, part of a regex?
Regex
How to invert a grep expression
Regex
Linux
Grep
Is there a regular expression to detect a valid regular expression?
Regex
How to make Regular expression into non-greedy?
Javascript
Regex
Filter
Expression
Regex Greedy
How to validate an email address in PHP
Php
Regex
Email
Email Validation
How does Stack Overflow generate its SEO-friendly URLs?
Regex
Language Agnostic
Seo
Friendly Url
Slug
Named capturing groups in JavaScript regex?
Javascript
Regex
Named regular expression group "(?P<group_name>regexp)": what does "P" stand for?
Python
Regex
Regex Group
Regex (grep) for multi-line search needed
Regex
Linux
Cygwin
Grep
Match two strings in one line with grep
Regex
Linux
String
Grep
Remove all special characters from a string
Php
Regex
Url
Slug
Javascript Regex: How to put a variable inside a regular expression?
Javascript
Regex
Variables
Regex to match string containing two names in any order
Regex
String
How to use '-prune' option of 'find' in sh?
Regex
Shell
Find
Manual
python re.sub group: number after \number
Python
Regex
Numbers
Regex Group
Regex for matching something if it is not preceded by something else
Java
Regex
How do I extract text that lies between parentheses (round brackets)?
C#
.Net
Regex
Regular expression for a string that does not start with a sequence
Regex
Regex for string not ending with given suffix
Regex
Is there a version of JavaScript's String.indexOf() that allows for regular expressions?
Javascript
Regex
Indexof
jQuery validate: How to add a rule for regular expression validation?
Jquery
Regex
Jquery Validate
How to find patterns across multiple lines using grep?
Regex
Grep
Grep regex NOT containing string
Regex
Grep
Concrete JavaScript regular expression for accented characters (diacritics)
Javascript
Regex
Unicode
Regular expression to allow spaces between words
Regex
Converting any string into camel case
Javascript
Regex
Camelcasing
Match linebreaks - \n or \r\n?
Regex
Language Agnostic
Line Breaks
How do I negate a test with regular expressions in a bash script?
Regex
Bash
Conditional
Negate
Regex that accepts only numbers (0-9) and NO characters
C#
Regex
How can I use Unicode-aware regular expressions in JavaScript?
Javascript
Regex
Unicode
Character Properties
Regular expression to limit number of characters to 10
Regex
Regex Email validation
C#
Regex
Validation
Remove multiple whitespaces
Php
Regex
String
Preg Replace
Whitespace
How to check for valid email address?
Python
Regex
Email Validation
Email Address
Use String.split() with multiple delimiters
Java
Regex
Can regular expressions be used to match nested patterns?
Regex
Nested
Finite Automata
Regular Expressions and negating a whole character group
Regex
Regular Expression to get a string between parentheses in Javascript
Javascript
Regex
String
RE error: illegal byte sequence on Mac OS X
Regex
Macos
Bash
Sed
Regex how to match an optional character
Regex
String
Operators
Regex to validate date formats dd/mm/YYYY, dd-mm-YYYY, dd.mm.YYYY, dd mmm YYYY, dd-mmm-YYYY, dd/mmm/YYYY, dd.mmm.YYYY with Leap Year Support
Regex
How to validate phone numbers using regex
Regex
Validation
Phone Number
Check whether a string matches a regex in JS
Javascript
Regex
Match
What is the ultimate postal code and zip regex?
Regex
Zipcode
Postal Code
Regex to test if string begins with http:// or https://
Regex
Regular expression to get a string between two strings in Javascript
Javascript
Regex
String
How to filter rows in pandas by regex
Python
Regex
Pandas
Using regular expressions to parse HTML: why not?
Regex
Html Parsing
Replacing all non-alphanumeric characters with empty strings
Java
Regex
Non Alphanumeric
Remove insignificant trailing zeros from a number?
Javascript
Regex
Math
Numbers
Replace only some groups with Regex
C#
Regex
Replace
Regular expression for matching HH:MM time format
Regex
RegEx to extract all matches from string using RegExp.exec
Javascript
Regex
Regex Group
Taskwarrior
Fastest way to check a string contain another substring in JavaScript?
Javascript
Regex
Substring
What is the best regular expression to check if a string is a valid URL?
Regex
Url
Language Agnostic
Difference between \A \z and ^ $ in Ruby regular expressions
Ruby
Regex
RegEx for matching UK Postcodes
Regex
Validation
Regex Group
Postal Code
regex to match a single character that is anything but a space
Regex
php Replacing multiple spaces with a single space
Php
Regex
Formatting
String Formatting
Ereg Replace
Switch statement for string matching in JavaScript
Javascript
Regex
Switch Statement
Why are regular expressions so controversial?
Regex
Regex - Should hyphens be escaped?
Regex
Search and replace in bash using regular expressions
Regex
Bash
How do you implement a good profanity filter?
Php
Regex
User Input
Python non-greedy regexes
Python
Regex
Regex Greedy
How can I match a string with a regex in Bash?
Regex
String
Bash
Add spaces before Capital Letters
C#
Regex
String
How to do a non-greedy match in grep?
Regex
Shell
Command Line
Grep
Regex Greedy
Match exact string
Javascript
Regex
Swift extract regex matches
Ios
Regex
String
Swift
Convert camelCaseText to Title Case Text
Javascript
Regex
String
Regex not operator
Regex
String
Splitting a Java String by the pipe symbol using split("|")
Java
Regex
String
How to escape regular expression special characters using javascript?
Javascript
Regex
Validate phone number with JavaScript
Javascript
Regex
Return positions of a regex match() in Javascript?
Javascript
Regex
Match
String Matching
Regular expression for exact match of a string
Regex
Java Regex Capturing Groups
Java
Regex
Regex Named Groups in Java
Java
Regex
Extract part of a regex match
Python
Html
Regex
Html Content-Extraction
Convert a char to upper case using regular expressions (EditPad Pro)
Regex
Detect URLs in text with JavaScript
Javascript
Regex
Url
RegEx to make sure that the string contains at least one lower case char, upper case char, digit and symbol
Regex
Replace first occurrence of pattern in a string
C#
Regex
How can I validate an email address using a regular expression?
Regex
Regular Expressions: Is there an AND operator?
Regex
Lookahead
(grep) Regex to match non-ASCII characters?
Regex
Unicode
Grep
Ascii
Non Ascii-Characters
DeprecationWarning: invalid escape sequence - what to use instead of \d?
Python
Regex
Python 3.x
Create array of regex matches
Java
Regex
How do I perform a Perl substitution on a string while keeping the original?
Regex
Perl
Replace
Using Regular Expressions to Extract a Value in Java
Java
Regex
How to convert a Title to a URL slug in jQuery?
Javascript
Jquery
Regex
Slug
Slugify
How to convert "camelCase" to "Camel Case"?
Javascript
Regex
Regular expression to match standard 10 digit phone number
Regex
Regular expressions in C: examples?
C
Regex
How to check if a line is blank using regex
Regex
Python extract pattern matches
Python
Regex
Does "\d" in regex mean a digit?
Python
Regex
Encoding
Gedit
What to do Regular expression pattern doesn't match anywhere in string?
Html
Regex
Parsing
How to replace a whole line with sed?
Regex
Sed
How can I strip all punctuation from a string in JavaScript using regex?
Javascript
Regex
What is a word boundary in regex?
Regex
Word Boundary
What is the difference between .*? and .* regular expressions?
Regex
Regex Greedy
Non Greedy
Match multiline text using regular expression
Java
Regex
Visual Studio Code Search and Replace with Regular Expressions
Regex
Visual Studio-Code
Regular Expression to match only alphabetic characters
Regex
How do you match only valid roman numerals with a regular expression?
Regex
Roman Numerals
How to remove all whitespace from a string?
R
Regex
String
R Faq
Javascript and regex: split string and keep the separator
Javascript
Regex
Split string on the first white space occurrence
Javascript
Regex
String
regular expression: match any word until first space
Regex
How does RegexOptions.Compiled work?
.Net
Regex
How to extract base URL from a string in JavaScript?
Javascript
Regex
String
Url
Java; String replace (using regular expressions)?
Java
Regex
Match everything except for specified strings
Regex
Regex, every non-alphanumeric character except white space or colon
Regex
How to extract a string using JavaScript Regex?
Javascript
Regex
String
Icalendar
Validating email addresses using jQuery and regex
Regex
Validation
Email
Email Validation
Symbol for any number of any characters in regex?
Regex
Difference between ?:, ?! and ?=
Javascript
Regex
sed one-liner to convert all uppercase to lowercase?
Regex
Sed
Regex select all text between tags
Html
Regex
Html Parsing
PHP string "contains"
Php
Regex
String
What's the difference between "groups" and "captures" in .NET regular expressions?
C#
.Net
Regex
typeof for RegExp
Javascript
Regex
Constructor
Instanceof
Typeof
Regex to validate password strength
Regex
Passwords
Regex doesn't work in String.matches()
Java
Regex
What flavor of Regex does Visual Studio Code use?
Regex
Replace
Visual Studio-Code
Regular expressions in an Objective-C Cocoa application
Objective C
Regex
Cocoa
What is the simplest way to convert a Java string from all caps (words separated by underscores) to CamelCase (no word separators)?
Java
Regex
String
Regular expression for first and last name
Regex
Validation
How to get Vim to highlight non-ascii characters?
Regex
Vim
Regex - how to match everything except a particular pattern
Regex
Findstr
Regular expression for letters, numbers and - _
Regex
Regular expression for matching latitude/longitude coordinates?
Regex
Java RegEx meta character (.) and ordinary dot?
Java
Regex
Regular expression for floating point numbers
Regex
Replace all non alphanumeric characters, new lines, and multiple white space with one space
Javascript
Regex
Replace
Alphanumeric
Speed up millions of regex replacements in Python 3
Python
Regex
String
Performance
Replace
Interpolating a string into a regex
Ruby
Regex
How can I concatenate regex literals in JavaScript?
Javascript
Regex
Syntax
Regex match everything after question mark?
Regex
Split string based on a regular expression
Python
Regex
How to negate specific word in regex?
Regex
How to count string occurrence in string?
Javascript
Regex
String
How do I remove all non-ASCII characters with regex and Notepad++?
Regex
Expression
Notepad++
Non Ascii-Characters
How to split a long regular expression into multiple lines in JavaScript?
Javascript
Regex
Jslint
Expression
Readability
Regex using javascript to return just numbers
Javascript
Regex
How to exclude a specific string constant?
Regex
Regex Negation
Is there a PHP function that can escape regex patterns before they are applied?
Php
Regex
Escaping
How do I convert CamelCase into human-readable names in Java?
Java
Regex
String
Pascalcasing
Humanize
Regex Last occurrence?
Regex
Path
Remove empty lines in text using Visual Studio or VS Code
Regex
Visual Studio
Visual Studio-2010
Visual Studio-Code
Line
How to download an entire directory and subdirectories using wget?
Regex
Linux
Bash
Wget
Regex empty string or email
Regex
Email
String
Learning Regular Expressions
Regex
Vim Regex Capture Groups [bau -> byau : ceu -> cyeu]
Regex
Vim
Capturing Group
Regex Group
Find and kill a process in one line using bash and regex
Regex
Bash
Terminal
Awk
How can I match "anything up until this sequence of characters" in a regular expression?
Regex
Regular Expression for alphanumeric and underscores
Regex
sed: print only matching group
Regex
Sed
JavaScript .replace only replaces first Match
Javascript
Regex
Replace
Extract a substring according to a pattern
Regex
R
Substr
Visual Studio Code - delete all blank lines - regex
Regex
Visual Studio-Code
Blank Line
How can I match multiple occurrences with a regex in JavaScript similar to PHP's preg_match_all()?
Javascript
Regex
Negative lookbehind equivalent in JavaScript
Javascript
Regex
Negative Lookbehind
Convert hyphens to camel case (camelCase)
Javascript
Regex
Camelcasing
Using regular expression in css?
Css
Regex
How to extract img src, title and alt from html using php?
Php
Html
Regex
Html Parsing
Html Content-Extraction
Java - escape string to prevent SQL injection
Java
Sql
Regex
Escaping
Sql Injection
Regex: Specify "space or start of string" and "space or end of string"
Regex
Preg Match
Regex for password must contain at least eight characters, at least one number and both lower and uppercase letters and special characters
Javascript
asp.net
Regex
Visual Studio, Find and replace, regex
Regex
Visual Studio-2005
Replace
Regex for string contains?
Regex
Regular expression \p{L} and \p{N}
Xml
Regex
Character Class
RegEx - Match Numbers of Variable Length
Regex
grep using a character vector with multiple patterns
R
Regex
Trim spaces from start and end of string
Javascript
Regex
Using Java to find substring of a bigger string using Regular Expression
Java
Regex
String
Regular expression to stop at first match
Regex
How do I remove all non alphanumeric characters from a string except dash?
C#
Regex
How to use Regular Expressions (Regex) in Microsoft Excel both in-cell and loops
Regex
Excel
Vba
Explode string by one or more spaces or tabs
Php
Regex
Explode
PHP Regex to get youtube video ID?
Php
Regex
Replace first occurrence of string in Python
Python
Regex
leading zeros in rails
Ruby
Regex
Ruby on-Rails-3
How would I get everything before a : in a string Python
Python
Regex
String
Split
What Regex would capture everything from ' mark to the end of a line?
Regex
Python regular expressions return true/false
Python
Regex
javascript regex - look behind alternative?
Javascript
Regex
Difference between \w and \b regular expression meta characters
Regex
How to correctly sort a string with a number inside?
Python
Regex
Sorting
String
Remove all special characters from a string in R?
Regex
String
R
Character
Split a string on whitespace in Go?
Regex
Go
How do you debug a regex?
Regex
Debugging
Pcre
Remove all non-numeric characters from a string; [^0-9] doesn't match as expected
Php
Regex
String
Phone Number
Sanitization
Regex to replace multiple spaces with a single space
Javascript
Jquery
Regex
What do 'lazy' and 'greedy' mean in the context of regular expressions?
Regex
Regex Greedy
Non Greedy
Why is "asdf".replace(/.*/g, "x") == "xx"?
Javascript
Regex
A Regex that will never be matched by anything
Regex
Dictionary
Complexity Theory
Regular expression for duplicate words
Regex
Duplicates
Backreference
Capture Group
Regular expression to return text between parenthesis
Python
Regex
Python 3.x
Python Regex instantly replace groups
Python
Regex
Regex Group
Convert PHP closing tag into comment
Php
Regex
Tags
Comments
Regex for quoted string with escaping quotes
Regex
Escaping
Quotes
Javascript fuzzy search that makes sense
Javascript
Regex
Pattern Matching
String Matching
Fuzzy Search
Regular expression to match string starting with a specific word
Regex
RegEx: Smallest possible match or nongreedy match
.Net
Regex
Regex Greedy
Non Greedy
What is a regular expression for a MAC Address?
Regex
Javascript Regexp dynamic generation from variables?
Javascript
Regex
Dynamic
Java regex email
Java
Regex
Email
C# Regex for Guid
C#
Regex
Sublime Text regex not detecting multiline tags
Regex
Tags
Sublimetext
What regular expression will match valid international phone numbers?
Regex
Telephony
Ivr
Extract a substring from a string in Ruby using a regular expression
Ruby
Regex
String
Substring
How do I split a string with multiple separators in JavaScript?
Javascript
Regex
Split
Split string based on regex
Python
Regex
Split
Use dynamic (variable) string as regex pattern in JavaScript
Javascript
Regex
String
What is a regular expression which will match a valid domain name without a subdomain?
Regex
Validation
Domain Name
Create RegExps on the fly using string variables
Javascript
Regex
Validating IPv4 addresses with regexp
Regex
Validation
Ip Address
Ipv4
Grep
Regular expression to match a word or its prefix
Regex
Expression
Word
Getting parts of a URL (Regex)
Regex
Language Agnostic
Url
Regular expression to match any character being repeated more than 10 times
Regex
Regular expression for a hexadecimal number?
Regex
Rails: What's a good way to validate links (URLs)?
Ruby on-Rails
Ruby
Regex
Validation
Url
What is the meaning of the 'g' flag in regular expressions?
Javascript
Regex
Get string between two strings in a string
C#
Regex
String
Python Regex - How to Get Positions and Values of Matches
Python
Regex
Using C# regular expressions to remove HTML tags
C#
Html
Regex
Parsing
Split string to equal length substrings in Java
Java
Regex
String
Split
How to print matched regex pattern using awk?
Regex
Awk
python's re: return True if string contains regex pattern
Python
Regex
Why does String.split need pipe delimiter to be escaped?
Java
Regex
String
express.js - single routing handler for multiple routes in a single line
node.js
Regex
Express
Routing
Regex to get string between curly braces
Javascript
Regex
JavaScript Regular Expression Email Validation
Javascript
Regex
Regular Expression: Any character that is not a letter or number
Javascript
Regex
Javascript split regex question
Javascript
Regex
Split
Can't escape the backslash with regex?
Regex
Is there any way to put malicious code into a regular expression?
Regex
Security
Difference between \b and \B in regex
Regex
Why does Javascript's regex.exec() not always return the same value?
Javascript
Regex
Can I use an OR in regex without capturing what's enclosed?
Regex
Capture
Regex Group
Regex to replace everything except numbers and a decimal point
Javascript
Regex
deny direct access to a folder and file by htaccess
Php
Regex
Apache
.Htaccess
Mod Rewrite
Decimal number regular expression, where digit after decimal is optional
Regex
Extracting numbers from vectors of strings
Regex
R
Search and Replace with RegEx components in Atom editor
Regex
Atom Editor
Javascript regex returning true.. then false.. then true.. etc
Javascript
Jquery
Html
Ajax
Regex
What does the regex \S mean in JavaScript?
Javascript
Regex
How to match any non white space character except a particular one?
Regex
Perl
How to use regex in String.contains() method in Java
Java
Regex
String
How can I "inverse match" with regex?
Regex
Inverse Match
How does this giant regex work?
Php
Regex
Security
Cryptography
How to extract a floating number from a string
Python
Regex
Floating Point
Data Extraction
Split string into array of character strings
Java
Regex
Split
Why it's not possible to use regex to parse HTML/XML: a formal explanation in layman's terms
Regex
Language Agnostic
What is the difference between RegExp’s exec() function and String’s match() function?
Javascript
Regex
Selecting data frame rows based on partial string match in a column
R
Regex
String
Match
Subset
A regex to match a substring that isn't followed by a certain other substring
Java
Regex
Clojure
Which is the correct shorthand - "regex" or "regexp"
Regex
Terminology
How to match all occurrences of a regex
Ruby
Regex
What is a good regular expression to match a URL?
Javascript
Regex
What is the difference between re.search and re.match?
Python
Regex
Search
Match
jQuery selector regular expressions
Javascript
Jquery
Regex
Jquery Selectors
Regular Expression to reformat a US phone number in Javascript
Javascript
Regex
Regex exactly n OR m times
Java
Php
Regex
How to determine if a number is a prime with regex?
Java
Regex
Primes
How to find indices of all occurrences of one string in another in JavaScript?
Javascript
Regex
String
Indexof
Ruby Regexp group matching, assign variables on 1 line
Ruby
Regex
Pattern Matching
How to capture multiple repeated groups?
Regex
SQL Server Regular expressions in T-SQL
Sql Server
Regex
Tsql
JavaScript replace/regex
Javascript
Regex
Replace
regex for zip-code
Regex
javascript includes() case insensitive
Javascript
Regex
Regular expression matching a multiline block of text
Python
Regex
Multiline
RegEx backreferences in IntelliJ
Java
Regex
Intellij Idea
How can I replace a regex substring match in Javascript?
Javascript
Regex
Replace
Substring
How to search for occurrences of more than one space between words in a line
Regex
Eclipse
Replace
How to pattern match using regular expression in Scala?
Regex
Scala
Escape string for use in Javascript regex
Javascript
Regex
Escaping
RegEx to find two or more consecutive chars
Regex
Ruby replace string with captured regex pattern
Ruby
Regex
Replace
Regular expression to match a dot
Python
Regex
Strip / trim all strings of a dataframe
Python
Regex
Pandas
Dataframe
Trim
PHP validation/regex for URL
Php
Regex
Url
Validation
Eclipse, regular expression search and replace
Regex
Eclipse
Replace
Is Java RegEx case-insensitive?
Java
Regex
Case Sensitive
How do I use regex in a SQLite query?
Regex
Sqlite
Query String
What is the difference between square brackets and parentheses in a regex?
Regex
Regular expression for a string containing one word but not another
Regex
Google Analytics
Regex Negation
Case insensitive regex in JavaScript
Javascript
Regex
How can I remove the string "\n" from within a Ruby string?
Ruby
Regex
Regular expression to find URLs within a string
Regex
String
Url
Check if a string is html or not
Javascript
Regex
How can I validate a string to only allow alphanumeric characters in it?
C#
Regex
How can I exclude one word with grep?
Regex
String
Search
Grep
Unicode equivalents for \w and \b in Java regular expressions?
Java
Regex
Unicode
Character Properties
Python regex find all overlapping matches?
Python
Regex
Overlapping
Regex matching in a Bash if statement
Regex
Bash
If Statement
Replace non-numeric with empty string
C#
Regex
String
Phone Number
Convert a string to regular expression ruby
Ruby
Regex
String
Ruby 1.9.3
How to calculate the number of occurrence of a given character in each row of a column of strings?
Regex
R
Dataframe
How can I strip HTML tags from a string in ASP.NET?
C#
asp.net
Html
Regex
String
Remove non-utf8 characters from string
Php
Regex
sed error: "invalid reference \1 on `s' command's RHS"
Regex
Sed
Substitution
Regex Match all characters between two strings
Regex
How to extract numbers from a string in Python?
Python
Regex
String
Numbers
Remove HTML Tags in Javascript with Regex
Javascript
Regex
How to ignore whitespace in a regular expression subject string?
Regex
Whitespace
Regex for splitting a string using space when not surrounded by single or double quotes
Java
Regex
Split
PHP regular expressions: No ending delimiter '^' found in
Php
Regex
Preg Match
Pcre
Extract substring using regexp in plain bash
Regex
Bash
Multi-line regex support in Vim
Regex
Vim
Changing all occurrences in a folder
Regex
Linux
Shell
Sed
Extract a regular expression match
Regex
R
Split string on whitespace in Python
Python
Regex
String
Split
Whitespace
Escaping a forward slash in a regular expression
Regex
Perl
Escaping
Count number of matches of a regex in Javascript
Javascript
Regex
How to validate an Email in PHP?
Php
Regex
Validation
Email Validation
Regex lookahead for 'not followed by' in grep
Regex
Grep
Regex Lookarounds
Using Regex to generate Strings rather than match them
Java
Regex
Regular Expressions: Search in list
Python
Regex
How to create Gmail filter searching for text only at start of subject line?
Regex
Filter
Gmail
Subject
List of all special characters that need to be escaped in a regex
Java
Regex
Is it worth using Python's re.compile?
Python
Regex
Why is sed not recognizing \t as a tab?
Regex
Bash
Sed
Check and extract a number from a String in Java
Java
Regex
String
Return string with first match for a regex, handling case where there is no match
Python
Regex
Can I replace groups in Java regex?
Java
Regex
Replace
Regex Group
java.util.regex - importance of Pattern.compile()?
Java
Regex
Split a string at uppercase letters
Python
Regex
String
Do regular expressions from the re module support word boundaries (\b)?
Python
Regex
Word Boundaries
PHP Regex to check date is in YYYY-MM-DD format
Php
Regex
Date Format
Matching a Forward Slash with a regex
Javascript
Regex
RegEx to parse or validate Base64 data
Regex
Base64
Standards Compliance
Rfc
What's the regular expression that matches a square bracket?
Regex
RegExp matching string not starting with my
Regex
Regex Negation
Pmd
JavaScript/regex: Remove text between parentheses
Javascript
Regex
What is a non-capturing group in regular expressions?
Regex
Capturing Group
Regex Group
How to do a regular expression replace in MySQL?
Mysql
Regex
Mysql Udf
Is there a simple way to remove multiple spaces in a string?
Python
Regex
String
How to remove all line breaks from a string
Javascript
Regex
String
Insert space before capital letters
Javascript
Jquery
Regex
String
Replace
Does a dot have to be escaped in a character class (square brackets) of a regular expression?
Regex
Standards
Standards Compliance
Square Bracket
How do I make case-insensitive queries on Mongodb?
Regex
Mongodb
Database
Handling backreferences to capturing groups in re.sub replacement pattern
Python
Regex
Java regex capturing groups indexes
Java
Regex
Why doesn't [01-12] range work as expected?
Regex
PatternSyntaxException: Illegal Repetition when using regex in Java
Java
Regex
Matcher
How do I replace the *first instance* of a string in .NET?
C#
.Net
Regex
String
Replace
.NET - How can you split a "caps" delimited string into an array?
.Net
Regex
Algorithm
String
Pascalcasing
Regular expression to match numbers with or without commas and decimals in text
Regex
How to replace all strings to numbers contained in each string in Notepad++?
Regex
Notepad++
Regex match entire words only
Regex
Word Boundary
How to add http:// if it doesn't exist in the URL
Php
Regex
"Unknown modifier 'g' in..." when using preg_match in PHP?
Php
Regex
Preg Match
Preg Match-All
Regular expression: find spaces (tabs/space), but not newlines
Regex
Regexp Java for password validation
Java
Regex
How can I count the number of matches for a regex?
Java
Regex
Regex to Match Symbols: !$%^&*()_+|~-=`{}[]:";'<>?,./
Javascript
Jquery
Regex
Regex plus vs star difference?
Php
Regex
Regular expression to remove HTML tags from a string
Html
Regex
How to negate the whole regex?
Regex
Regex Negation
Alphanumeric, dash and underscore but no spaces regular expression check JavaScript
Javascript
Regex
How can I parse a CSV string with JavaScript, which contains comma in data?
Javascript
Regex
Split
How can I use 'Not Like' operator in MongoDB
Regex
Mongodb
Mongodb Query
Pymongo
Sql Like
How to extract numbers from a string and get an array of ints?
Java
Arrays
Regex
String
What is a Context Free Grammar?
Regex
Parsing
Grammar
Context Free-Grammar
How to find an element by matching exact text of the element in Capybara
Ruby
Regex
Capybara
How do I include negative decimal numbers in this regular expression?
Regex
Numbers
Why in Java 8 split sometimes removes empty strings at start of result array?
Java
Regex
Split
Java 8
Regular expression to extract text between square brackets
Regex
Is there a RegExp.escape function in JavaScript?
Javascript
Regex
How to replace a set of tokens in a Java String?
Java
Regex
Templates
Is Java Regex Thread Safe?
Java
Regex
Multithreading
Function to return only alpha-numeric characters from string?
Php
Regex
Python, remove all non-alphabet chars from string
Python
Regex
Using the star sign in grep
Regex
Bash
Grep
Whitespace Matching Regex - Java
Java
Regex
Whitespace
What does the regular expression /_/g mean?
Javascript
Regex
How to extract text from a string using sed?
Regex
Bash
Sed
Regular expression that matches valid IPv6 addresses
Regex
Networking
Ipv6
Regular expression to match EOF
Regex
Convert all first letter to upper case, rest lower for each word
C#
asp.net
Regex
Ruby regular expression using variable name
Ruby
Regex
JavaScript regex pattern concatenate with variable
Javascript
Regex
How to remove special characters from a string?
Java
Regex
Fastest way to check if a string matches a regexp in ruby?
Ruby
Regex
Performance
Regex Pattern to Match, Excluding when... / Except between
Regex
Can you make just part of a regex case-insensitive?
Regex
How does one escape backslashes and forward slashes in VIM find/search?
Regex
Vim
Regular expression which matches a pattern, or is an empty string
Javascript
Regex
Email Validation
String
Split string with dot as delimiter
Java
Regex
String
Split
Fastest method to escape HTML tags as HTML entities?
Javascript
Html
Regex
Performance
String
Add quotation at the start and end of each line in Notepad++
Regex
Text Editor
Notepad++
Regular expression to check if password is "8 characters including 1 uppercase letter, 1 special character, alphanumeric characters"
C#
Regex
How do I replace multiple spaces with a single space in C#?
C#
Regex
String
How can I make my match non greedy in vim?
Regex
Vim
Regex Greedy
My regex is matching too much. How do I make it stop?
Regex
C++: what regex library should I use?
C++
Regex
Linux
Regex to remove all (non numeric OR period)
C#
Regex
How to extract string following a pattern with grep, regex or perl
Regex
Perl
Sed
Html Parsing
Text Extraction
How do I strip non alphanumeric characters from a string and keep spaces?
Ruby on-Rails
Ruby
Regex
Ruby on-Rails-3
re.sub erroring with "Expected string or bytes-like object"
Python
Regex
Pandas
Nltk
Return first match of Ruby regex
Ruby
Regex
String
How to remove numbers from a string?
Javascript
Regex
Does Flask support regular expressions in its URL routing?
Python
Regex
Flask
javascript regular expression to not match a word
Javascript
Regex
String
Regex to match a digit two or four times
Regex
Numbers
Using RegEx in SQL Server
Sql Server
Regex
Sql Server-2008
Tsql
Regex: ?: notation (Question mark and colon notation)
Java
Regex
Recursively change file extensions in Bash
Regex
Linux
Bash
Shell
Sh
How can we match a^n b^n?
Regex
Regex Lookarounds
Capturing Group
Nested Reference
Regex: matching up to the first occurrence of a character
Regex
Which regular expression operator means 'Don't' match this character?
Regex
Is there a difference between /\s/g and /\s+/g?
Javascript
Regex
Javascript Regular Expression Remove Spaces
Javascript
Regex
How to determine if a string is a valid v4 UUID?
Php
Regex
Uuid
A regex for version number parsing
Regex
Versioning
Getting the text that follows after the regex match
Java
Regex
What is the regex for "Any positive integer, excluding 0"
Java
Regex
Is gcc 4.8 or earlier buggy about regular expressions?
C++
Regex
Gcc
C++11
Libstdc++
How do I do a case insensitive regular expression in Go?
Regex
Go
Regex expressions in Java, \\s vs. \\s+
Java
Regex
String
Quantifiers
Regular expression containing one word or another
Regex
Preg Match
How can I use a regex to replace upper case with lower case in Intellij IDEA?
Java
Regex
Intellij Idea
How do I get the name of captured groups in a C# Regex?
C#
Regex
grep regex whitespace behavior
Regex
Grep
Gnu
Does Ruby regular expression have a not match operator like "!~" in Perl?
Ruby
Regex
Works in Chrome, but breaks in Safari: Invalid regular expression: invalid group specifier name /(?<=\/)([^#]+)(?=#*)/
Javascript
Regex
Safari
Javascript + Regex = Nothing to repeat error?
Javascript
Regex
Match
Get the index of a pattern in a string using regex
Java
Regex
String
Remove part of a string
R
Regex
String
How can I recognize an evil regex?
Regex
Regex to match only letters
Regex
Python string.replace regular expression
Python
Regex
Replace
Is it possible for a computer to "learn" a regular expression by user-provided examples?
Regex
Artificial Intelligence
Theory
Automata
How do you validate a URL with a regular expression in Python?
Python
Regex
Google App-Engine
escaping question mark in regex javascript
Javascript
Regex
Literals
how to use sed, awk, or gawk to print only what is matched?
Regex
Unix
Sed
Awk
Gawk
Java regular expression OR operator
Java
Regex
Python regex - r prefix
Python
Regex
String
Literals
Prefix
Regex to validate JSON
Regex
Json
Javascript regular expression: remove first and last slash
Javascript
Regex
Delimiter must not be alphanumeric or backslash and preg_match
Php
Regex
Preg Match
Number of occurrences of a character in a string
C#
Regex
Linq
How to use RegEx in Dart?
Regex
Dart
Flutter
How to check that a string is a palindrome using regular expressions?
Regex
Palindrome
RegEx match open tags except XHTML self-contained tags
Html
Regex
Xhtml
How do I match any character across multiple lines in a regular expression?
Regex
Multiline
Regex pattern including all special characters
Java
Regex
Regular expression syntax for "match nothing"?
Python
Regex
How are nested capturing groups numbered in regular expressions?
Java
.Net
Regex
Perl
Language Agnostic
Regular Expression Match to test for a valid year
Regex
String
Validation
String Matching
RegExp.exec() returns NULL sporadically
Javascript
Regex
Replace a Regex capture group with uppercase in Javascript
Javascript
Regex
Replace
Uppercase
grepping using the "|" alternative operator
Regex
Linux
Grep
Regex to match words of a certain length
Java
Regex
How to remove symbols from a string with Python?
Python
Regex
String
Using sed and grep/egrep to search and replace
Regex
Sed
Grep
JavaScript - string regex backreferences
Javascript
Regex
Backreference
JavaScript replace \n with <br />
Javascript
Regex
Replace
Regex to match more than 2 white spaces but not new line
C#
.Net
Regex
Newline
Whitespace
Regex for converting CamelCase to camel_case in java
Java
Regex
String
What's the meaning of /gi in a regex?
Javascript
Regex
Regex group capture in R with multiple capture-groups
Regex
R
Capture
Capture Group
Split the sentences by ',' and remove surrounding spaces
Javascript
Regex
What are regular expression Balancing Groups?
C#
.Net
Regex
Balancing Groups
How to replace plain URLs with links?
Javascript
Regex
Regular expression to match URLs in Java
Java
Regex
Regexbuddy
How can I obtain pattern string from compiled regexp pattern in python?
Python
Regex
How to identify a given string is hex color format
Regex
Colors
How do HTML parses work if they're not using regexp?
Html
Regex
Parsing
Html Parsing
Regex Until But Not Including
Regex
Search
Regex Lookarounds
Multi-line regular expressions in Visual Studio
Regex
Visual Studio
Difference between LIKE and ~ in Postgres
Sql
Regex
Postgresql
Syntax
Regex pattern inside SQL Replace function?
Sql Server
Regex
Select columns based on string match - dplyr::select
R
Regex
Dplyr
How can I remove text within parentheses with a regex?
Python
Regex
Perl
Regular expression search replace in Sublime Text 2
Regex
Replace
Sublimetext2
How to match hyphens with Regular Expression?
C#
Regex
Using regex in WHERE in Postgres
Regex
Postgresql
Notepad++ incrementally replace
Regex
Notepad++
Sequential
Capitalize first letter of each word in a selection using Vim
Regex
Vim
Replace
Find
Capitalize
Regular expression - starting and ending with a character string
Regex
String
How do I verify that a string only contains letters, numbers, underscores and dashes?
Python
Regex
String
Validating file types by regular expression
C#
asp.net
.Net
Regex
Checking validity of email in django/python
Python
Regex
Django
Validation
Email
Find the indexes of all regex matches?
Python
Regex
Indexing
regex optional word match
Regex
RegEx in Sublime Text: Match any character, including newlines?
Regex
Sublimetext2
How can I extract a number from a string in JavaScript?
Javascript
Regex
String
Numbers
How do I remove all specific characters at the end of a string in PHP?
Php
Regex
String
Get Filename Without Extension in Python
Python
Regex
How do I find all YouTube video ids in a string using a regex?
Php
Regex
Youtube
Assert regex matches in JUnit
Java
Regex
Junit
Regular expression to validate username
Java
Php
Html
Regex
Perl
Remove HTML tags from a String
Java
Html
Regex
Parsing
Case insensitive regular expression without re.compile?
Python
Regex
Case Sensitive
Case Insensitive
Non greedy (reluctant) regex matching in sed?
Regex
Sed
Pcre
Greedy
Regex Greedy
How to extract a substring using regex
Java
Regex
String
Text Extraction
why does my javascript regex.test() give alternating results
Javascript
Regex
How to capture an arbitrary number of groups in JavaScript Regexp?
Javascript
Regex
Repeat
Capturing Group
How do I match an entire string with a regex?
C#
.Net
Regex
Regex: what is InCombiningDiacriticalMarks?
Java
Regex
Unicode
Using sed to delete all lines between two matching patterns
Regex
Sed
How to write a Ruby switch statement (case...when) with regex and backreferences?
Ruby
Regex
Switch Statement
How can non-ASCII characters be removed from a string?
Java
Regex
String
Replace
Char
Find the location of a character in string
Regex
String
R
Regex to match URL end-of-line or "/" character
Regex
Using RegEX To Prefix And Append In Notepad++
Regex
Notepad++
What is a good regular expression for catching typos in an email address?
C#
Regex
Email Validation
use regular expression in if-condition in bash
Regex
Bash
RegExp in TypeScript
Javascript
Regex
Typescript
How do I return a string from a regex match in python?
Python
Regex
Regex any ASCII character
Regex
Ascii
Split Ruby regex over multiple lines
Ruby
Regex
Code Formatting
Regex: match everything but a specific pattern
Regex
Regex: ignore case sensitivity
Regex
Converting a MatchCollection to string array
C#
Arrays
Regex
How to find overlapping matches with a regexp?
Python
Regex
Overlapping
Regular expression to match exact number of characters?
Regex
Warning: preg_replace(): Unknown modifier 'g'
Php
Regex
Splitting a string at every n-th character
Java
Regex
String
Split
regexes: How to access multiple matches of a group?
Python
Regex
How to match a line not containing a word
Regex
Escape dot in a regex range
Javascript
Regex
Replace
Regex: Remove lines containing "help", etc
Regex
Notepad++
Java string split with "." (dot)
Java
Regex
String
Split
Indexoutofboundsexception
Check if string matches pattern
Python
Regex
String Matching
Matching strings with wildcard
C#
Regex
String
Wildcard
What does ?= mean in a regular expression?
Regex
JS regex to split by line
Javascript
Regex
Newline
RegEx to split camelCase or TitleCase (advanced)
Java
Regex
Camelcasing
Title Case
How do I deal with special characters like \^$.?*|+()[{ in my regex?
Regex
R
R Faq
How to get capturing group functionality in Go regular expressions
Regex
Go
Capture Group
How can I write a regex which matches non greedy?
Regex
Regex Greedy
Non Greedy
What special characters must be escaped in regular expressions?
Regex
Python and regular expression with Unicode
Python
Regex
Character Properties
In Javascript, how can I perform a global replace on string with a variable inside '/' and '/g'?
Javascript
Regex
String
Regex for Comma delimited list
Regex
Csv
regex error - nothing to repeat
Python
Regex
Capturing group with findall?
Python
Regex
How to remove carriage returns and new lines in Postgresql?
Regex
Postgresql
Java regex for support Unicode?
Java
Regex
Unicode
Cjk
Multi-selection with regex (sublime text 2)
Regex
Sublimetext2
Chrome dev tools: any way to exclude requests whose URL matches a regex?
Regex
Google Chrome
Networking
Google Chrome-Devtools
Get PHP to stop replacing '.' characters in $_GET or $_POST arrays?
Php
Regex
Postback
Split Java String by New Line
Java
Regex
Split
Newline
How to use grep to get anything just after `name=`?
Regex
Bash
Grep
Java regex to extract text between tags
Java
Regex
Wildcards in the pattern for http.HandleFunc
Regex
Go
Case insensitive search in Mongo
Regex
Mongodb
Pattern Matching
Match
Case Insensitive
How to input a regex in string.replace?
Python
Regex
String
Replace
Javascript date regex DD/MM/YYYY
Javascript
Regex
Remove Sub String by using Python
Python
Regex
String
Replace preg_replace() e modifier with preg_replace_callback
Php
Regex
Preg Replace
Preg Replace-Callback
Replace regexp capture-group in Notepad++?
Regex
Notepad++
How can test I regular expressions using multiple RE engines?
Regex
Testing
Raw Strings in Java - for regex in particular. Multiline strings
Java
Regex
String
Rawstring
How to replace only part of the match with python re.sub
Python
Regex
.Net regex: what is the word character \w?
C#
.Net
Regex
Type of compiled regex object in python
Python
Regex
Types
What does this Django regular expression mean? `?P`
Python
Regex
Django
Capturing Group
How long can a TLD possibly be?
Php
Regex
Email Validation
Tld
What regular expression engine does Nginx use?
Regex
Nginx
Regex to get the words after matching string
Regex
Expression
Regex Negation
Regex Lookarounds
Remove HTML tags from string including   in C#
C#
Html
Regex
String
WebWorker calculates slow regexp matches significantly slower (3x) - firefox only
Javascript
Regex
Firefox
Web Worker
How to define a regex-matched string type in Typescript?
Regex
Typescript
Types
Typing
Regular Expressions and GWT
Java
Regex
Gwt
Grep and Python
Python
Regex
Grep
Regular expression to match characters at beginning of line only
Regex
"Unknown escape sequence" error in Go
Regex
Syntax
Go
Regex to extract URLs from href attribute in HTML with Python
Python
Regex
Url
grep --ignore-case --only
Regex
Bash
Unix
Grep
Gnu
Regular Expression for any number greater than 0?
Regex
Design DFA accepting binary strings divisible by a number 'n'
Regex
Automata
Dfa
How to get the captured groups from Select-String?
Regex
Powershell
Select String
Select Object
How do I use regular expressions in bash scripts?
Regex
Bash
Conditional
Regular expression that doesn't contain certain string
Regex
Regex Negation
How to find a number in a string using JavaScript?
Javascript
Regex
Is there a Perl shortcut to count the number of matches in a string?
Arrays
Regex
Perl
Perl4
How to check whether a String fully matches a Regex in Scala?
Regex
Scala
What regex will match every character except comma ',' or semi-colon ';'?
Regex
Removing empty lines in Notepad++
Regex
Notepad++
Regular Expression for getting everything after last slash
Regex
Combining regular expressions in Javascript
Javascript
Regex
Function to check if a string is a date
Php
Regex
Validation
Date
Datetime
Is it possible to increment numbers using regex substitution?
Regex
c++11 regex slower than python
C++
Python
Regex
Performance
C++11
javascript regex for password containing at least 8 characters, 1 number, 1 upper and 1 lowercase
Javascript
Jquery
Regex
Validation
Regex optional group
Regex
Optional
Regex Group
How can I remove punctuation from input text in Java?
Java
Regex
String
Formatting
Multi-line regular expressions in Visual Studio Code
Regex
Visual Studio-Code
Regular expression: match start or whitespace
Python
Regex
How to remove numbers from string using Regex.Replace?
C#
Regex
Regular expression negative lookahead
Regex
Lookahead
Negative Lookahead
Scala capture group using regex
Regex
String
Scala
Capturing Group
preg_match in JavaScript?
Javascript
Regex
Mootools
What is the complexity of regular expression?
Regex
Complexity Theory
Big O
The recognizing power of "modern" regexes
Regex
Perl
Theory
Context Free-Grammar
Language Theory
How can I find all matches to a regular expression in Python?
Python
Regex
Search
How to match "any character" in regular expression?
Java
Regex
How do I remove trailing whitespace using a regular expression?
Regex
Whitespace
Trailing
Rename files using regular expression in linux
Regex
Terminal
Rename
Looping through python regex matches
Python
Regex
Nested Loops
What exactly is a "raw string regex" and how can you use it?
Python
Regex
Python Module
Rawstring
sed - Commenting a line matching a specific string AND that is not already commented out
Regex
Sed
gsub() in R is not replacing '.' (dot)
R
Regex
Gsub
Stringr
Java Regex Replace with Capturing Group
Java
Regex
javascript regex iso datetime
Javascript
Regex
Datetime
Iso
How to split String with some separator but without removing that separator in Java?
Java
Regex
String
Split
Difference between regex [A-z] and [a-zA-Z]
Java
Regex
Regular Expression for matching parentheses
Java
Regex
Regex match one of two words
Regex
Forms
Validation
Regex to split camel case
Javascript
Regex
Check for special characters in string
Javascript
Regex
String
How to split a String into a Stream of Strings?
Java
Regex
Split
Java Stream
bash regex with quotes?
Regex
Bash
Quotes
Easiest way to replace a string using a dictionary of replacements?
Python
Regex
Does lookaround affect which languages can be matched by regular expressions?
Regex
Lookbehind
Lookahead
Lookaround
Can you provide some examples of why it is hard to parse XML and HTML with a regex?
Html
Xml
Regex
How do I grep for all non-ASCII characters?
Regex
Unix
Unicode
Grep
How to get the first word in the string
Python
Regex
Remove line breaks from start and end of string
Javascript
Regex
Where can I find unit tests for regular expressions in multiple languages?
Java
Php
Javascript
.Net
Regex
How to get only process ID in specify process name in linux?
Regex
Linux
Shell
Redhat
How do I remove carriage returns with Ruby?
Ruby
Regex
Regex to detect one of several strings
Regex
In Python, how to check if a string only contains certain characters?
Python
Regex
Search
Character
Replacing from javascript dom text node
Javascript
Regex
Html Entities
Writing a parser for regular expressions
Python
Regex
Parsing
Regular Expression to find a string included between two characters while EXCLUDING the delimiters
Regex
How to use python regex to replace using captured group?
Python
Regex
Sed
Replace
Why does replaceAll fail with "illegal group reference"?
Java
Regex
sed plus sign doesn't work
Regex
Bash
Sed
Filter by regex example
Regex
Google Chrome-Devtools
Javascript Regular Expressions - Replace non-numeric characters
Javascript
Regex
What is the Regular Expression For "Not Whitespace and Not a hyphen"
Regex
How to remove non-alphanumeric characters?
Php
Regex
String
How can I validate regex?
Php
Regex
Regex to get NUMBER only from String
C#
Regex
How search for files using regex in linux shell script
Regex
Linux
Shell
Search
Regex pattern to match at least 1 number and 1 character in a string
Javascript
Regex
Validation
MySQL SELECT LIKE or REGEXP to match multiple words in one record
Mysql
Regex
Select
Sql Like
Java replace all square brackets in a string
Java
Regex
String
Split
How do I split a string by whitespace and ignoring leading and trailing whitespace into an array of words using a regular expression?
Javascript
Regex
String
Whitespace
Removing Whitespace
Carets in Regular Expressions
Regex
Caret
How to check if the input string is a valid Regular expression?
Javascript
Regex
How does {m}{n} ("exactly n times" twice) work?
Java
Regex
Why does \R behave differently in regular expressions between Java 8 and Java 9?
Java
Regex
Unicode
Java 8
Java 9
Matching exact string with JavaScript
Javascript
Regex
How do you use a variable in a regular expression?
Javascript
Regex
Find and extract a number from a string
C#
.Net
Regex
String
Case insensitive Regex without using RegexOptions enumeration
C#
Regex
Match groups in Python
Python
Regex
Decimal or numeric values in regular expression validation
Regex
Validation
Python: Elegant way to check if at least one regex in list matches a string
Python
Regex
List
Number of regex matches
Python
Regex
Use Python's string.replace vs re.sub
Python
Regex
PHP Using RegEx to get substring of a string
Php
Regex
Parsing
Substring
Regex to remove letters, symbols except numbers
Javascript
Regex
Symbols
Regex for route matching in Express
Regex
node.js
Express
Find everything between two XML tags with RegEx
Java
Php
Regex
Xml
Perl
Why doesn't `\d` work in regular expressions in sed?
Regex
Linux
Awk
Sed
bash, extract string before a colon
Regex
String
Bash
Sed
Substring
Fast punctuation removal with pandas
Python
Regex
String
Pandas
Numpy
Greedy vs. Reluctant vs. Possessive Qualifiers
Regex
Regex Greedy
Regular expression field validation in jQuery
Jquery
Regex
return only Digits 0-9 from a String
C#
vb.net
Regex
Vbscript
Code Generation
c# regex matches example
C#
Regex
List of all characters that should be escaped before put in to RegEx?
Javascript
Regex
Escaping
RegEx: How can I match all numbers greater than 49?
Javascript
Regex
Text processing - Python vs Perl performance
Python
Regex
Performance
Perl
Text Processing
How to use regex in XPath "contains" function
Regex
Xpath
Selenium Webdriver
Contains
Find 'word' not followed by a certain character
Regex
matching any character including newlines in a Python regex subexpression, not globally
Python
Regex
A regular expression to exclude a word/string
Regex
python .replace() regex
Python
Regex
Regular expression to match DNS hostname or IP Address?
Regex
Dns
Replace newlines with literal \n
Regex
Sed
Regular Expression to match valid dates
Regex
Date
JavaScript equivalent of PHP's preg_replace
Php
Javascript
Regex
C# RegEx: Ignore case... in pattern?
C#
Regex
Regex to extract substring, returning 2 results for some reason
Javascript
Regex
Substring
Regular expression for checking if capital letters are found consecutively in a string
Regex
Capitalize
jQuery javascript regex Replace <br> with \n
Javascript
Jquery
Regex
Find all elements whose id begins with a common string
Javascript
Regex
How to escape comma and double quote at same time for CSV file?
Java
Regex
Excel
Oracle
Csv
Split a string by commas but ignore commas within double-quotes using Javascript
Javascript
Regex
Converting user input string to regular expression
Javascript
Html
Regex
adding comma to each line using sublime text 2
Regex
Sublimetext2
What does $1 mean in Perl?
Regex
Perl
Split camelCase word into words with php preg_match (Regular Expression)
Php
Regex
String
Preg Match
Delete all lines starting with # or ; in Notepad++
Regex
Notepad++
linux find regex
Regex
Linux
Bash
Unix
Find
Regular Expression Groups in C#
C#
Regex
Regex to match all instances not inside quotes
Javascript
Regex
Escaping
Quotes
How can I replace newlines/line breaks with spaces in javascript?
Javascript
Regex
Compare one String with multiple values in one expression
Java
Regex
String
Regex to check whether a string contains only numbers
Javascript
Regex
Regex for numbers only
C#
Regex
Regex to match specific strings without a given prefix
Regex
grunt (minimatch/glob) folder exclusion
Javascript
Regex
node.js
Glob
Gruntjs
What do `?i` and `?-i` in regex mean?
Ruby
Regex
regex for accepting only persian characters
C#
asp.net
Regex
Unicode
Notepad++ Replace regex match for same text plus appending character
Regex
Replace
Notepad++
How to escape underscore character in PATINDEX pattern argument?
Sql Server
Regex
Tsql
Escaping
Sql Like
Using BeautifulSoup to find a HTML tag that contains certain text
Python
Regex
Beautifulsoup
Html Content-Extraction
Remove control characters from PHP string
Php
Regex
String
Replace all whitespace with a line break/paragraph mark to make a word list
Regex
Sed
Regex: Use start of line/end of line signs (^ or $) in different context
Regex
replace \n and \r\n with <br /> in java
Java
Regex
Replaceall
Including a hyphen in a regex character bracket?
Javascript
Jquery
Regex
Testing
Validation
javascript regular expression to check for IP addresses
Javascript
Regex
String
String Matching
How to use regex with find command?
Regex
Linux
Find
split string only on first instance of specified character
Javascript
Jquery
Regex
How to validate numeric values which may contain dots or commas?
Regex
Validation
Numeric
"No match Found" when using matcher's group method
Java
Regex
Http Headers
Regular expression matching E.164 formatted phone numbers
Regex
re.sub replace with matched content
Python
Regex
Python Re
Python Regex
Python: How to use RegEx in an if statement?
Python
Regex
JavaScript regular expressions and sub-matches
Javascript
Regex
Regular Expressions- Match Anything
Regex
Rename files using a regex with bash
Regex
Bash
PostgreSQL Regex Word Boundaries?
Regex
Postgresql
Word Boundary
vim regex replace multiple consecutive spaces with only one space
Regex
Vim
JavaScript: indexOf vs. Match when Searching Strings?
Javascript
Regex
String
Client
How to replace a string in an existing file in Perl
Regex
Perl
Regex match text between tags
Javascript
Regex
Only numbers. Input number in React
Javascript
Regex
Reactjs
Regular Expression to collect everything after the last /
Php
Regex
How to match Cyrillic characters with a regular expression
Regex
Unicode
Character Properties
Python regex matching Unicode properties
Python
Regex
Unicode
Ucd
Character Properties
Regular expression to find two strings anywhere in input
Regex
String
How to split but ignore separators in quoted strings, in python?
Python
Regex
regular expression for anything but an empty string
C#
Regex
Minimum 6 characters regex expression
Regex
Pattern matching digits does not work in egrep?
Regex
Grep
Character Class
Regex to remove all special characters from string?
C#
Regex
String
How can I insert a tab character with sed on OS X?
Regex
Macos
Sed
Removing all script tags from html with JS Regular Expression
Javascript
Html
Regex
How to remove 'http://' from a URL in JavaScript
Javascript
Regex
Bookmarklet
Meaning of "=~" operator in shell script
Regex
Linux
Bash
Shell
How to remove the extra spaces in a string?
Javascript
Regex
Trim
Check if string contains only letters in javascript
Javascript
Regex
Is it possible to escape regex metacharacters reliably with sed
Regex
Sed
How to do CamelCase split in python
Python
Regex
Camelcasing
Multiple words in any order using regex
Regex
How can I store regex captures in an array in Perl?
Regex
Perl
Arrays
6 digits regular expression
Regex
vb.net
Regular expression to match balanced parentheses
Regex
re.findall which returns a dict of named capturing groups?
Python
Regex
Remove all non-alphanumeric characters using preg_replace
Php
Regex
Preg Replace
Python replace string pattern with output of function
Python
Regex
Replace multiple letters with accents with gsub
R
Regex
Gsub
OR condition in Regex
Regex
Difference between egrep and grep
Regex
Grep
Space or no space
Regex
Splitting on comma outside quotes
Java
Regex
String
Split
Jquery Value match Regex
Javascript
Jquery
Regex
Match
pandas applying regex to replace values
Python
Regex
Pandas
How to get all the values that contains part of a string using mongoose find?
Regex
node.js
Mongodb
Mongodb Query
Aggregation Framework
Regular Expression Arabic characters and numbers only
Regex
Unicode
String Matching
Why 'ABC'.replace('B', '$`') gives AAC
Javascript
Regex
Extracting a string between other two strings in R
Regex
R
Stringr
How do you access the matched groups in a JavaScript regular expression?
Javascript
Regex
How to pass a variable into regex in jQuery/Javascript
Jquery
Regex
Match
Regex AND operator
Regex
And Operator
How to remove all non-alpha numeric characters from a string in MySQL?
Mysql
Regex
String
Alphanumeric
remove script tag from HTML content
Php
Regex
Htmlpurifier
Regex that matches integers in between whitespace or start/end of string only
Regex
How to prevent a file from direct URL Access?
Regex
Apache
.Htaccess
Mod Rewrite
Hotlinking
Javascript regular expression password validation having special characters
Javascript
Regex
Passwords
javascript - replace dash (hyphen) with a space
Javascript
Regex
Ruby Email validation with regex
Ruby
Regex
Validation
Email
phpstorm replace array() notation to [ ] short syntax
Regex
Replace
Phpstorm
Regex - Does not contain certain Characters
Regex
Regex Negation
Python re.sub with a flag does not replace all occurrences
Python
Regex
What is "The Best" U.S. Currency RegEx?
Regex
Currency
How do you extract IP addresses from files using a regex in a linux shell?
Regex
Linux
Bash
Unix
Command Line
Regular Expression to split on spaces unless in quotes
C#
.Net
Regex
Regular Expression: Allow letters, numbers, and spaces (with at least one letter or number)
Javascript
Regex
Add slash to the end of every url (need rewrite rule for nginx)
Regex
Nginx
Rewrite
Remove all non-"word characters" from a String in Java, leaving accented characters?
Java
Regex
String
Find a string between 2 known values
C#
.Net
Regex
Regex date format validation on Java
Java
Regex
Date
Parsing
Regex Letters, Numbers, Dashes, and Underscores
Regex
Python - Locating the position of a regex match in a string?
Python
Regex
Any character including newline - Java Regex
Java
Regex
How does this regex find primes?
Regex
Primes
Javascript string replace with regex to strip off illegal characters
Javascript
Regex
String
Question marks in regular expressions
Regex
Regex Greedy
Perform a non-regex search/replace in vim
Regex
Vim
Replace
How to type ":" ("colon") in regexp?
Java
Regex
javascript url-safe filename-safe string
Javascript
Regex
String
Filenames
Regular expression to search for Gadaffi
Regex
Search
How to test valid UUID/GUID?
Javascript
Regex
Validation
Uuid
Guid
How do I make this preg_match case insensitive?
Php
Regex
How to remove all numbers from string?
Php
Regex
JavaScript: how to use a regular expression to remove blank lines from a string?
Javascript
Regex
Blank Line
preg_match(): Compilation failed: invalid range in character class at offset
Php
Regex
Preg Match
How to use grep()/gsub() to find exact match
R
Regex
Word Boundary
BeautifulSoup - search by text inside a tag
Python
Regex
Beautifulsoup
Regular expression for extracting tag attributes
Html
Regex
Combine Regexp?
Regex
Using String Format to show decimal up to 2 places or simple integer
C#
Regex
String Formatting
Number Formatting
Regular expression: zero or more occurrences of optional character /
Regex
Check for special characters (/*-+_@&$#%) in a string?
C#
Regex
Negative lookahead Regular Expression
Javascript
Regex
Regex Lookarounds
In regular expressions, what is a backtracking / back referencing?
Regex
What is the idiomatic scala way of finding, if a given string contains a given substring?
Regex
String
Scala
Substring
Contains
What's wrong with my lookahead regex in GNU sed?
Regex
Linux
Sed
Regex Lookarounds
How to match once per file in grep?
Regex
Perl
Shell
Unix
Grep
What is the use of Pattern.quote method?
Java
Regex
Pattern Matching
Nginx location "not equal to" regex
Regex
Nginx
Webserver
How to check if a string is a valid regex in Python?
Python
Regex
String
Validation
Bash, grep between two lines with specified string
Regex
Bash
Grep
Regex to match Egyptian Hieroglyphics
Regex
Unicode
Internationalization
Number of occurrences of substring in string in Swift
Regex
Swift
How do I find and remove duplicate lines from a file using Regular Expressions?
Regex
Using explicitly numbered repetition instead of question mark, star and plus
Regex
Readability
Repeat
How to represent a fix number of repeats in regular expression?
Java
Regex
Regex credit card number tests
Regex
Regex Greedy
Test if characters are in a string
R
Regex
String
R Faq
How to remove any URL within a string in Python
Python
Regex
Url
Replace
Python 2.7
Concatenate in bash the output of two commands without newline character
Regex
Bash
Sed
Pipe
Concatenation
Match whitespace but not newlines
Regex
Perl
Javascript multiple replace
Javascript
Regex
String
Replace
Javascript - return string between square brackets
Javascript
Regex
String
How to copy marked text in notepad++
Regex
Search
Notepad++
Lua pattern matching vs. regular expressions
Regex
Lua
Lua Patterns
parse youtube video id using preg_match
Php
Regex
Parsing
Youtube
Vim regex backreference
Regex
Vim
split a comma-separated string with both quoted and unquoted strings
C#
Regex
Remove trailing character(s) from string in Javascript
Javascript
Regex
Parsing
Sed expression doesn't allow optional grouped string
Regex
Sed
Phone validation regex
Regex
Phone Number
Using PHP Replace SPACES in URLS with %20
Php
Regex
Url
C# RegEx string extraction
C#
Regex
String
When not to use RegexOptions.Compiled
C#
Regex
How do I search for a pattern within a text file using Python combining regex & string/file operations and store instances of the pattern?
Python
Regex
File Io
Text Mining
String Parsing
In regex, match either the end of the string or a specific character
Regex
Pattern Matching
Remove everything after last backslash
Javascript
node.js
Regex
Typescript
Node Modules
How to escape text for regular expression in Java
Java
Regex
Escaping
Remove all special characters, punctuation and spaces from string
Python
Regex
String
VSCode regex find & replace submatch math?
Regex
Visual Studio-Code
What is the regex to extract all the emojis from a string?
Java
Regex
Utf 8
Emoji
How do you unit test regular expressions?
Regex
Unit Testing
Tdd
Regular Expression patterns for Tracking numbers
Regex
Fedex
Ups
Easiest way to extract the urls from an html page using sed or awk only
Html
Regex
Bash
Sed
Awk
Convert plain text URLs into HTML hyperlinks in PHP
Php
Regex
Hyperlink
Preg Replace
Why isn't the regular expression's "non-capturing" group working?
Python
Regex
How to get last Git tag matching regex criteria
Regex
Git
Tags
Find
Tagging
Notepad++ non-greedy regular expressions
Regex
Notepad++
Regex Greedy
How can I output only captured groups with sed?
Regex
Sed
How to handle response encoding from urllib.request.urlopen() , to avoid TypeError: can't use a string pattern on a bytes-like object
Python
Regex
Encoding
Urllib
What's the Time Complexity of Average Regex algorithms?
Regex
Algorithm
Complexity Theory
replace all occurrences in a string
Javascript
Regex
RegEx to match stuff between parentheses
Javascript
Regex
Arrays
Url
Url Routing
String.split() *not* on regular expression?
Java
Regex
Replace only first match using preg_replace
Php
Regex
Preg Replace
jQuery remove special characters from string and more
Javascript
Jquery
Regex
Replace
Use regular expression to find/replace substring in NSString
Objective C
Ios
Regex
Ios5
Regex date validation for yyyy-mm-dd
Java
Android
Regex
Validation
Date
Recursive pattern in regex
Python
Regex
Recursive Regex
How do I replace specific characters idiomatically in Rust?
Regex
Rust
Why does String.replaceAll() work differently in Java 8 from Java 9?
Java
Regex
String
Java 8
Java 9
What is the regex pattern for datetime (2008-09-01 12:35:45 )?
Php
Regex
Datetime
What is a regex "independent non-capturing group"?
Java
Regex
Best way to extract MAC address from ifconfig's output?
Regex
Linux
Command Line-Interface
Regex pattern for numeric values
Regex
Canadian postal code validation
C#
.Net
Regex
What's the technical reason for "lookbehind assertion MUST be fixed length" in regex?
Regex
Pcre
Lookbehind
Regex allow a string to only contain numbers 0 - 9 and limit length to 45
Regex
String
String Matching
RegEx that will match the last occurrence of dot in a string
Javascript
Jquery
Regex
String
Can I use a regular expression in querySelectorAll?
Javascript
Regex
Hyperlink
Selectors Api
Why do regex constructors need to be double escaped?
Javascript
Regex
HTML5 form validation pattern alphanumeric with spaces?
Regex
Html
Validation
Forms
Alphanumeric
Warning: preg_replace(): Unknown modifier
Php
Regex
Wordpress
Preg Replace
String.Replace only replaces first occurrence of matched string. How to replace *all* occurrences?
Javascript
Regex
Typescript
Is regular expression recognition of an email address hard?
Regex
Email
Validation
Textmatching
Regex lookahead, lookbehind and atomic groups
Regex
Lookaround
regex.test V.S. string.match to know if a string matches a regular expression
Javascript
Regex
Performance
What regex can match sequences of the same character?
Regex
Perl
Regular Expression to match cross platform newline characters
Python
Regex
Cross Platform
Eol
How do I remove the non-numeric character from a string in java?
Java
Regex
What does \d+ mean in regular expression terms?
Php
Regex
How to extract a value from a string using regex and a shell?
Regex
Shell
How to get the last part of a string?
C#
Regex
How can I use regex to get all the characters after a specific character, e.g. comma (",")
Javascript
Regex
Regex, how to match multiple lines?
Ruby
Regex
Rubular
Need to perform Wildcard (*,?, etc) search on a string using Regex
C#
.Net
Regex
String
Wildcard
Regex for string not containing multiple specific words
.Net
Regex
replace characters that are hidden in text
Php
Regex
Unicode
Get text between two rounded brackets
Javascript
Regex
How can I do multiple substitutions using regex?
Python
Regex
String
Range out of order in character class in javascript
Javascript
Regex
Validation
Can I use a Regex in an XPath expression?
.Net
Xml
Regex
Xpath
How to get domain name from URL
Regex
Url
How to prevent Javascript injection attacks within user-generated HTML
Javascript
Html
Regex
Parsing
Code Injection
Find and replace whole words in vim
Regex
Vim
Editor
Replace
Converting Date and Time To Unix Timestamp
Javascript
Regex
Unix
Timestamp
Find CRLF in Notepad++
Regex
Notepad++
How can I use a variable for a regex pattern without interpreting meta characters?
Regex
Perl
Python regex to match dates
Python
Regex
Date
Splitting a string with multiple spaces
Java
Regex
String
Split
Check if string ends with certain pattern
Java
Regex
String
Pattern Matching
Range of valid character for a base 64 encoding
Java
Regex
Base64
Apache Commons
How can I select an element by ID with jQuery using regex?
Javascript
Jquery
Regex
Python glob but against a list of strings rather than the filesystem
Python
Regex
Python 2.7
Glob
Can I test if a regex is valid in C# without throwing exception
C#
Regex
Is there a good, online, interactive regex tutorial?
Regex
How to loop all the elements that match the regex?
Javascript
Regex
String replaceAll() vs. Matcher replaceAll() (Performance differences)
Java
Regex
String
Replaceall
Negate characters in Regular Expression
Regex
Regex Negation
JavaScript - checking for any lowercase letters in a string
Javascript
Regex
How do you hide .git project directories?
Regex
Git
Nginx
Remove new lines from string and replace with one empty space
Php
Regex
String
Replace all double quotes within String
Java
Regex
regex to get the number from the end of a string
Javascript
Regex
How to split a string between letters and digits (or between digits and letters)?
Java
Regex
String
Replacing illegal character in fileName
Java
Regex
Replace
How to match a whole word with a regular expression?
Python
Regex
Replace the content of a textfile with a regex in powershell
Regex
Powershell
How to regex in a MySQL query
Mysql
Sql
Regex
Innodb
How to validate email id in angularJs using ng-pattern
Regex
Angularjs
Email
Angularjs Directive
Ng Pattern
regex match any single character (one character only)
Regex
Visual Studio Code - Removing Lines Containing criteria
Regex
Visual Studio-Code
Compile regex in PHP
Php
Regex
regex implementation to replace group with its lowercase version
Regex
Replace
Lowercase
Should I use \d or [0-9] to match digits in a Perl regex?
Regex
Perl
Regular Expression to match every new line character (\n) inside a <content> tag
Regex
Notepad++ Regular expression find and delete a line
Regex
Notepad++
How to validate phone number using PHP?
Php
Regex
Regex: I want this AND that AND that... in any order
C#
Regex
Why does VIM have its own regex syntax?
Regex
Vim
Why does a RegExp with global flag give wrong results?
Javascript
Regex
I want to remove double quotes from a String
Javascript
Regex
Regular Expression for password validation
C#
.Net
Regex
Unix grep regex containing 'x' but not containing 'y'
Regex
Unix
Grep
Regex Negation
Extract info inside all parenthesis in R
Regex
R
How to search in an array with preg_match?
Php
Regex
Arrays
Preg Match
Setting a minimum/maximum character count for any character using a regular expression
Regex
What does ?! mean?
Regex
While replacing using regex, How to keep a part of matched string?
Regex
Notepad++
Extract string between two strings in java
Java
Regex
String
What is a regex to match ONLY an empty string?
Regex
String
RegEx - Get All Characters After Last Slash in URL
Javascript
Regex
remove all line breaks (enter symbols) from the string using R
R
Regex
Line Breaks
How to use a variable inside a regular expression?
Python
Regex
Python 3.x
Variables
Escaping
How can I get at the matches when using preg_replace in PHP?
Php
Regex
Html Parsing
Preg Replace
Emacs: regular expression replacing to change case
Regex
Emacs
Replace
Javascript: what's the point of RegExp.compile()?
Javascript
Regex
Compilation
Tokenizing Error: java.util.regex.PatternSyntaxException, dangling metacharacter '*'
Java
Regex
Split
Tokenize
Regex.Match whole words
C#
.Net
Regex
Regular expression to enforce complex passwords, matching 3 out of 4 rules
Regex
How to extract the nth word and count word occurrences in a MySQL string?
Mysql
Regex
Word Count
How to do sed like text replace with python?
Python
Regex
Linux
Matching accented characters with Javascript regexes
Javascript
Regex
Unicode
Internationalization
Regex to match anything but two words
.Net
Regex
Regex Negation
How to put variable in regular expression match?
Javascript
Regex
Is this C++11 regex error me or the compiler?
C++
Regex
Gcc
C++11
Regex to check with starts with http://, https:// or ftp://
Java
Regex
Startswith
Why doesn't ignorecase flag (re.I) work in re.sub()
Python
Regex
How to check, if a php string contains only english letters and digits?
Php
Regex
regular expression for finding decimal/float numbers?
Javascript
Regex
Floating Point
Decimal
Regex for checking if a string is strictly alphanumeric
Java
Regex
Alphanumeric
How to get regex matched group values
Java
Regex
Test for numeric elements in a character string
Regex
R
Optional Whitespace Regex
Php
Regex
Preg Match
Removing Whitespace
"vertical" regex matching in an ASCII "image"
Php
.Net
Regex
Perl
Pcre
Notepad++ regex group capture
Regex
Notepad++
What are the differences between glob-style pattern and regular expression?
Regex
Glob
Can I do a MongoDB "starts with" query on an indexed subdocument field?
Regex
Mongodb
Search
Indexing
Full Table-Scan