I want to split std::string by regex. I have found some solutions on Stackoverflow, but most of them are splitting string by single space or using external lib
I have in a page 2 textboxes with the exact same RegularExpressionValidator. First case The page is loaded. I enter in Hour1 : 88:88 and Hour2 : 77:77. The seco
I want to check if a string is STRICTLY ALPHANUMERIC in javascript. i have tried this: var Exp = /^[0-9a-z]+$/; if(!pwd.match(Exp)) alert("ERROR") But the pr
I need to validate a date string for the format dd/mm/yyyy with a regular expresssion. This regex validates dd/mm/yyyy, but not the invalid dates like 31/02/45
I'm trying to replace the tab with 4 spaces, using sed, but it is not working. Here is my code: sed -i '{s/\t/ \{4\}/g}' filename Any suggestion is apprecia
I want to parse HLS master m3u8 file and get the bandwidth, resolution and file name from it. Currently i am using String parsing to search string for some patt
I have a money value as "R$ 2.200,00" where my thousand separators are . and my decimal separator is ,. I would like um regex to transform this string into a va
Hi I have a following regexp and value 2> re:run("first second", "^(?<foo>\\w+) (?<bar>\\w+)$", [{capture, [foo, bar], list}]). {match,["first",
I have the following string variable called strSourceCode in python3.x, 'uint256 private constant _tTotal = 100000000 * 10**9; uint256 private _rTotal = (MAX -
I would like to have a SQL formula to match all the words in a query in any order without using multiple 'AND like' statements. For example, the query 'cat dog
I'm trying to write a vim syntax file, one problem I'm dealing with is vim's regex syntax is different from most other languages(I think the one called "perl co
I want a regular expression pattern that will match with the end of a string. I'm implementing a stemming algorithm that will remove suffixes of a word. E.g. fo
I'm trying to parse an Apache Log with regex using Python and assign it to separate variables. ACCESS_LOG_PATTERN = '^(\S+) (\S+) (\S+) \[([\w:/]+\s[+\-]\d{4})
The Coding Question which I am trying to solve is this. I tried to solve but not all the test cases passed I am not able to find what could be the reason? Iden
I was wondering if it's possible to make a regular expression to find all of the text that is in between the following two strings: mutablePath = CGPathCreateM
My Activity has SearchView, which should have filtered query. I am filtering it via onQueryTextListener. Idea is that disable typing not allowed chars, like dot
Question Here are some simple rules that users have to follow when creating their username. 1) Usernames can only use alpha-numeric characters. 2) The only n
If I have a string like 10,000kg crane,21 how should I strip all commas but the last to get 10000kg crane,21 I'm thinking this is a regular expression problem
I have a script that compiles an .exe file and runs the --tree=all of that .exe. This returns the directory where the file is stored and I want to use that path
I wrote the following Perl script to split on multiple occurrences of the same pattern. The pattern is: (some text) This is what I've tried: foreach my $line