Click here to Skip to main content
15,915,742 members
Home / Discussions / Regular Expressions
   

Regular Expressions

 
QuestionHow to change the object of regular expression? Pin
jana_hus10-Jun-24 6:14
jana_hus10-Jun-24 6:14 
QuestionPositive Lookbehind question Pin
tasoss7-Jun-24 14:01
tasoss7-Jun-24 14:01 
AnswerRe: Positive Lookbehind question Pin
Terry R 20239-Jun-24 16:50
Terry R 20239-Jun-24 16:50 
GeneralRe: Positive Lookbehind question Pin
tasoss10-Jun-24 0:20
tasoss10-Jun-24 0:20 
QuestionREGEX to find space followed by number 1 then letter Pin
Richard Parker from London24-Apr-24 2:16
Richard Parker from London24-Apr-24 2:16 
AnswerRe: REGEX to find space followed by number 1 then letter Pin
Richard Deeming30-Apr-24 0:22
mveRichard Deeming30-Apr-24 0:22 
GeneralRe: REGEX to find space followed by number 1 then letter Pin
jschell30-Apr-24 12:21
jschell30-Apr-24 12:21 
QuestionPHP perl regular expression - URL not preceded by equal sign and possible single or double quote Pin
Doug Davis 202427-Mar-24 9:37
Doug Davis 202427-Mar-24 9:37 
QuestionModify Regex To Disallow Spaces Pin
mcfc4heatons26-Mar-24 11:03
mcfc4heatons26-Mar-24 11:03 
SuggestionRe: Modify Regex To Disallow Spaces Pin
Richard Deeming26-Mar-24 22:47
mveRichard Deeming26-Mar-24 22:47 
AnswerRe: Modify Regex To Disallow Spaces Pin
Terry R 202316-May-24 11:31
Terry R 202316-May-24 11:31 
QuestionMatching Floating Point Numbers Range with a Regular Expression Pin
Dagobert19-Feb-24 2:10
Dagobert19-Feb-24 2:10 
AnswerRe: Matching Floating Point Numbers Range with a Regular Expression Pin
Richard Deeming9-Feb-24 2:19
mveRichard Deeming9-Feb-24 2:19 
GeneralRe: Matching Floating Point Numbers Range with a Regular Expression Pin
trønderen9-Feb-24 6:25
trønderen9-Feb-24 6:25 
GeneralRe: Matching Floating Point Numbers Range with a Regular Expression Pin
Dagobert19-Feb-24 6:49
Dagobert19-Feb-24 6:49 
I have found a solution for case 1:
^((0[\,\.]000[1])|([1-9]\d{0,3}(?:[\,\.]\d{1,4}))|(?:10000(?:[\,\.]0{1,4})))?$


However, the expression is not as difficult as is said here.
At the special request of a single person, the regular expression now also accepts "." and ",".

I program in QT and QLineEdit can be configured very nicely and effectively with regex expressions. I would therefore be very reluctant to deviate from this.

I am programming an LCR measuring bridge front end from Analog Devices (ADMX2001). The tDelay value range between 0.0000 and 65536.0000 is expected by the frontend and is also checked. And the value range does not fit into a uint16. Should I now discuss the specified value range with Analog Devices ? They must know in which way the bridge operates.

modified 9-Feb-24 13:37pm.

GeneralRe: Matching Floating Point Numbers Range with a Regular Expression Pin
jschell9-Feb-24 12:34
jschell9-Feb-24 12:34 
GeneralRe: Matching Floating Point Numbers Range with a Regular Expression Pin
Dagobert19-Feb-24 10:22
Dagobert19-Feb-24 10:22 
GeneralRe: Matching Floating Point Numbers Range with a Regular Expression Pin
jschell9-Feb-24 12:37
jschell9-Feb-24 12:37 
GeneralRe: Matching Floating Point Numbers Range with a Regular Expression Pin
Richard Deeming11-Feb-24 21:47
mveRichard Deeming11-Feb-24 21:47 
AnswerRe: Matching Floating Point Numbers Range with a Regular Expression Pin
Pete O'Hanlon12-Feb-24 0:04
mvePete O'Hanlon12-Feb-24 0:04 
QuestionRegular expression for City name Pin
KiranKumar V 20247-Feb-24 19:08
KiranKumar V 20247-Feb-24 19:08 
AnswerRe: Regular expression for City name Pin
Dave Kreskowiak7-Feb-24 19:19
mveDave Kreskowiak7-Feb-24 19:19 
GeneralRe: Regular expression for City name Pin
KiranKumar V 20247-Feb-24 19:27
KiranKumar V 20247-Feb-24 19:27 
GeneralRe: Regular expression for City name Pin
Dave Kreskowiak8-Feb-24 3:18
mveDave Kreskowiak8-Feb-24 3:18 
GeneralRe: Regular expression for City name Pin
KiranKumar V 20248-Feb-24 3:26
KiranKumar V 20248-Feb-24 3:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.