Click here to Skip to main content
14,971,553 members
Home / Discussions / Regular Expressions
   

Regular Expressions

 
AnswerRe: workaround for negative lookbehind regular expression in Javascript Pin
Pete O'Hanlon26-Apr-21 21:08
mvePete O'Hanlon26-Apr-21 21:08 
QuestionRegex for a Customer number Pin
poornima sadasivan30-Mar-21 4:11
Memberpoornima sadasivan30-Mar-21 4:11 
AnswerRe: Regex for a Customer number Pin
SeanChupas30-Mar-21 5:27
MemberSeanChupas30-Mar-21 5:27 
AnswerRe: Regex for a Customer number Pin
jschell9-Apr-21 15:21
Memberjschell9-Apr-21 15:21 
QuestionIgnoring repeating values? Pin
Jason Hotchkiss 202124-Mar-21 8:17
MemberJason Hotchkiss 202124-Mar-21 8:17 
AnswerRe: Ignoring repeating values? Pin
w 3g24-Mar-21 10:45
Memberw 3g24-Mar-21 10:45 
GeneralRe: Ignoring repeating values? Pin
Jason Hotchkiss 202125-Mar-21 1:06
MemberJason Hotchkiss 202125-Mar-21 1:06 
QuestionReplace certain characters in part of string? Pin
w 3g22-Mar-21 1:54
Memberw 3g22-Mar-21 1:54 
Hello,

I have a question on regex: Is it possible to match for certain characters (and replace them) in only a part of a string? E. g.

str="I want to solve this problem"

I now want to match all spaces after the first occurence of the letter, say, "v". I know I can filter the whole part of the string after (and including) the first v with the regex "v.*", but how to match the spaces only in that part?

Thank you!
AnswerRe: Replace certain characters in part of string? Pin
Richard Deeming22-Mar-21 2:08
mveRichard Deeming22-Mar-21 2:08 
GeneralRe: Replace certain characters in part of string? Pin
w 3g22-Mar-21 23:38
Memberw 3g22-Mar-21 23:38 
GeneralRe: Replace certain characters in part of string? Pin
Richard Deeming22-Mar-21 23:49
mveRichard Deeming22-Mar-21 23:49 
GeneralRe: Replace certain characters in part of string? Pin
w 3g23-Mar-21 0:21
Memberw 3g23-Mar-21 0:21 
QuestionRegex only want the first match Pin
Member 150872251-Mar-21 11:04
MemberMember 150872251-Mar-21 11:04 
AnswerRe: Regex only want the first match Pin
Aghast (nj)9-Mar-21 17:53
MemberAghast (nj)9-Mar-21 17:53 
Questionregex pattern in order to get a list of numbers from a string Pin
Rafael Soteldo17-Feb-21 4:48
MemberRafael Soteldo17-Feb-21 4:48 
AnswerRe: regex pattern in order to get a list of numbers from a string Pin
Aghast (nj)9-Mar-21 17:51
MemberAghast (nj)9-Mar-21 17:51 
QuestionString Replacement in 'HTML 5 FireFox' Pin
Member 1357268429-Dec-20 0:47
MemberMember 1357268429-Dec-20 0:47 
AnswerRe: String Replacement in 'HTML 5 FireFox' Pin
OriginalGriff29-Dec-20 0:54
mveOriginalGriff29-Dec-20 0:54 
GeneralRe: String Replacement in 'HTML 5 FireFox' Pin
Member 1357268429-Dec-20 1:04
MemberMember 1357268429-Dec-20 1:04 
GeneralRe: String Replacement in 'HTML 5 FireFox' Pin
OriginalGriff29-Dec-20 1:39
mveOriginalGriff29-Dec-20 1:39 
GeneralRe: String Replacement in 'HTML 5 FireFox' Pin
Member 1357268429-Dec-20 1:51
MemberMember 1357268429-Dec-20 1:51 
GeneralRe: String Replacement in 'HTML 5 FireFox' Pin
OriginalGriff29-Dec-20 2:23
mveOriginalGriff29-Dec-20 2:23 
GeneralRe: String Replacement in 'HTML 5 FireFox' Pin
Member 1357268429-Dec-20 9:20
MemberMember 1357268429-Dec-20 9:20 
GeneralRe: String Replacement in 'HTML 5 FireFox' Pin
OriginalGriff29-Dec-20 9:35
mveOriginalGriff29-Dec-20 9:35 
GeneralRe: String Replacement in 'HTML 5 FireFox' Pin
Member 1357268429-Dec-20 9:45
MemberMember 1357268429-Dec-20 9:45 

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.