Skip to main content
2 votes
1 answer
43 views

I want to use a regular expression in Mulesoft Dataweave and substitute some values by using variables. I have this code which excecutes fine in Dataweave: "1000000087" replace /^(.{3}).(.{6}...
Ben's user avatar
  • 864
0 votes
2 answers
134 views

We have a capture group of Z, and we want to display this capture group X number of times using Regex in PHP . I can not find a working syntax for this, for example: This captures the "Z" 5 ...
Mm-Art-In's user avatar
  • 23.1k
4 votes
2 answers
77 views

I have a regex where a negative lookbehind and an optional group is producing a match when I'm not expecting it to. There appears to be something about their interaction that I am not understanding, ...
vr8ce's user avatar
  • 656
Advice
1 vote
6 replies
59 views

How to match any amount of Unicode characters (letters, numbers, surrogate pairs) in regex: 😆 ẘ😆 😆😆 ẘaሴ abc123 I am looking for an equivalent to /^(\[a-zA-Z0-9\]+$)/i that finds ASCII.
user3443063's user avatar
  • 1,727
-4 votes
0 answers
123 views

I'm having difficulties with the below regex which should find files in directory with a specific pattern. Directory is ok, if else statement files are being printed. But regex.test doesn't match. ...
Grmn's user avatar
  • 554
Best practices
2 votes
4 replies
55 views

I need to convert informal Persian user input that represents a monetary amount into a single integer value in rials in python. The input is free-form and may include: Persian number words (e.g. یک, ...
BCompl's user avatar
  • 43
1 vote
0 answers
90 views

I have a generic function to always query my mongo collection with a limit and get the entire result in a single batch. I noticed the queries with Contains and StartWith were taking longer than ...
Carlos Siestrup's user avatar
-3 votes
0 answers
107 views

I have extracted the results of "select column A, column B, column C from " in SQL plus to a text file. In the file, a specific column that has long text splits the text into two rows but ...
Emmanuel Salau's user avatar
0 votes
1 answer
112 views

I am working with older weather data files with a 3-line header. The first line identifies the station, the second provides column names, and the third gives the column units. The problem is that ...
user8229029's user avatar
  • 1,253
0 votes
2 answers
134 views

Invoice contains services and Subtotal rows: Internet_Usage 1058 187822_MB 1 000 000 PhoneCalls 48 02:42:39 2 000 000 Subtotal 3 302 5998 Parking 8 4 000 000 Subtotal 4 302 5998 sum is third number ...
Andrus's user avatar
  • 28.3k
1 vote
4 answers
88 views

%if %sysfunc(prxmatch(/^\("([A-Za-z])"\)$/, %str(&names))) = 0 and %upcase(&stringC) = N %then %do; %put ERROR: Please format as such ("obesity","diabetes&...
Health_Code13's user avatar
Advice
2 votes
6 replies
88 views

The Problem I want to create a function in Python for finding and moving files where I can specify a glob-style pattern to find source files, and then a second pattern to describe where to move them ...
OmniZ's user avatar
  • 143
0 votes
1 answer
125 views

I have been trying to figure out how to learn pregmatch and no matter what I try, it never works. I have tried my best until I get a migraine, searched all over the internet, and I hate to ask here ...
user26136009's user avatar
Advice
2 votes
6 replies
55 views

I like powershell's features, but not a big fan of MS Powershell documentation and supplied examples. An internet searching for this kept coming up with how to remove when I wanted to replace empty ^$ ...
TMS's user avatar
  • 13
0 votes
1 answer
136 views

In a script I'm using constants (use constant ...) to allow re-use ion actual regular expressions, using the pattern from https://stackoverflow.com/a/69379743/6607497. However when using a {...} ...
U. Windl's user avatar
  • 4,852

15 30 50 per page
1
2 3 4 5
17409