python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
QRegularExpression find and capture all quoted and non-quoated parts in string
I am fairly new to using regexes.
I got a string which can contain quoted and not quoted substrings.
Here are examples of how they could look:
"path/to/program.exe" -a -b -c
"path/to/pr...
k_k
Votes: 0
Answers: 1
replace exact null string either startswith dot charector . or endswith . dot charector or its not appended to any other string ,it should b separate
I was trying replace null , .null or null. string from below code snippet
static String str1="WTDocument: null ( 0000000043 ) A.1";
static String str2= "WTPart: null ( WHEEL_A1 )...
Dungeon Master
Votes: 0
Answers: 1
Regex extract parts of text after a string is matched
I have string field "event=[someevent1] ID=[000001] text=[Sample Text 123]"
I need just the part inside text that is Sample Text 123
How to extract this using regex?
I have tried (text=).\*$...
Ashesh Nath Mishra
Votes: 0
Answers: 1
Is 0000*1* a regular language?
If 2 L spanned from the bit alphabet. L1 = 000 L2 = 0 *1 *
If we concatenate them L1L2 = 0000 *1 *
I believe these 2 languages are regular because of a trivial DFA. But if you pump on L1... it would t...
Advancedip
Votes: 0
Answers: 1