Regular expressions provide a declarative language to match patterns within strings.
I want to match a portion of a string using a regular expression and then access that parenthesized substring: var …
javascript regexhash = window.location.hash.substr(1); var reg = new RegExp('^[0-9]$'); console.log(reg.test(hash)); I get false …
javascript regexI'm looking for the Python equivalent of String str = "many fancy word \nhello \thi"; String whiteSpaceRegex = "\\s"; String[] words = str.…
python regex string split whitespaceHow can I write a regex that matches only letters?
regex language-agnostic letterHow can I make the following regex ignore case sensitivity? It should match all the correct characters but ignore whether …
regexHow are non-capturing groups, i.e. (?:), used in regular expressions and what are they good for?
regex capturing-group regex-groupI have got a price field to display which sometimes can be either 100 or 100.99 or 100.9, What I want is to …
c# regex string-formatting number-formattingI know that I can negate group of chars as in [^bar] but I need a regular expression where negation …
regexCurrently I have an input box which will detect the URL and parse the data. So right now, I am …
javascript regex