All Questions
2,526
questions
2
votes
1
answer
36
views
Jmeter: unable to extract value from nested array
I am trying to automate load testing on Jmeter in order to be able to schedule them and let them run at specific times. I have no powers over the queues nor our rabbit scenery in general, I can only ...
0
votes
1
answer
57
views
How to extract all id values from the cards array in a JSON object using regular expression
I need to extract all id values from the cards array in a JSON object.
I tried the regular expression
"cards":\[\{.*?"id":"([^"]+)"
on the JSON below, but it only ...
0
votes
1
answer
478
views
BigQuery Extract Info from JSON Strings stored as String Data Type
My BQ tables are populated by a BQ module (load_table_from_dataframe) into a table and has below values as STRING type (including ```)
```json{
"number": 123,
"date": "...
-1
votes
1
answer
64
views
Concatenation of words and expressions
Introduction
I am trying to create a string filter function based on a given filter string (that is, the filter is formed from a string)
I have already come up with and written code for expressions ...
0
votes
1
answer
48
views
Spliting a string using a regular expression returns a collection with a single element
I'm newbie and i'm trying to create an app to check a string that represents a bus ticket.
I have a problem with this function but i don't know what it is.
fun mostrarBilhete(){
...
0
votes
2
answers
134
views
Extract matched keyword and its matching line or paragraph as regex submatches
The following code snippet loops through single-column tables containing keywords, in a keywords sheet and tries matching these concatenated keywords of each column, to a text string (Str) that has ...
0
votes
1
answer
63
views
MongoDb RegEx search in object array
I have an existing data structure in my collection which basically looks like this (simplified):
[
{ items: [
{ id: '000', value: 'string' },
{ id: '001', value: 1234 },
{ id: '002', ...
-1
votes
3
answers
111
views
How to split a string into an array of strings using regex, storing the regex and not storing the result of it?
For example, there is a line:
const string = "a {{bcd}} e {{f}}"
The result will be an array like this:
const result = ["a", "{{bcd}}", "e", "{{f}}"];...
-2
votes
1
answer
158
views
How to get an array of strings using regex for ternary operator? [closed]
There is a task to make a regular expression for a ternary operator without nesting. I'm stuck at this point. Help me please!
String for regex:
let str = "!(a == b) && (c == d) ? value1 : ...
-1
votes
1
answer
90
views
How to extract a specfic sub-section from a long JSON using JSON_EXTRACT/REGEXP_EXTRACT on BigQuery?
I have a long JSON column that has various nested JSON fields. I am interested in a specific field called regularHours, and wish to extract all the values associated with this nested key (the values ...
1
vote
1
answer
104
views
How to replace numbers in text with numbers in the array with AHK?
Clipboard content = 10,19,2023,19,6,2,9 (this is a variable array)
Sentence with numbers to modify:
From 4 to 6 July 2023, we attended 10 meetings, including 5 discussions, 25 exhibits and 3 ...
0
votes
2
answers
184
views
Regex pattern to match keywords having/not having apostrophe, with text strings, excluding any double-quotes enclosing those keywords
In Excel workbook, i have a table with Keywords column that i want to match with large text strings in rows of another table column.
Keywords table:
keywords
isn't a problem
its same issue
dont ...
-2
votes
1
answer
49
views
How do I split a string based on a numeric value follow by a dot '.'?
I have a string that looks like this
var res = "1. This is the first task
2. This is the second task. Also, these are some extra few words on the second task
3. This is the third task"
I ...
1
vote
2
answers
62
views
Perl regex read line and search or compare each element in the array or hash
In my Perl code I am able to compare string and print if my file line contain string .
while (my $line = <$input_fh>) {
chomp $line;
if ($line =~ /<red>/) {
$start_writing = 1;
...
0
votes
2
answers
190
views
Regex to remove Key/Value in a JSON Object
I have a JSON like below:
{"queueNumber": "123","field":"name",UserId":[12,12,34],"cur":[{"objectName":"test","...