Click here to Skip to main content
14,695,085 members
Home » Discussions » Regular Expressions
   

Regular Expressions

 
GeneralRe: Correct Expression For 'Any Character Including Whitespace' Pin
Richard MacCutchan8-May-17 0:30
mveRichard MacCutchan8-May-17 0:30 
AnswerRe: Correct Expression For 'Any Character Including Whitespace' Pin
Bernhard Hiller8-May-17 0:13
MemberBernhard Hiller8-May-17 0:13 
AnswerRe: Correct Expression For 'Any Character Including Whitespace' Pin
Sonhospa8-May-17 1:24
MemberSonhospa8-May-17 1:24 
GeneralRe: Correct Expression For 'Any Character Including Whitespace' Pin
Richard MacCutchan8-May-17 3:25
mveRichard MacCutchan8-May-17 3:25 
QuestionHow to retain characters preceding a match? Pin
Member 1297660431-Jan-17 16:44
MemberMember 1297660431-Jan-17 16:44 
AnswerRe: How to retain characters preceding a match? Pin
Peter_in_278031-Jan-17 20:27
professionalPeter_in_278031-Jan-17 20:27 
GeneralRe: How to retain characters preceding a match? Pin
Member 1297660431-Jan-17 21:50
MemberMember 1297660431-Jan-17 21:50 
QuestionUsing back references to find data type naming standards violations Pin
Member 124482999-Apr-16 8:06
MemberMember 124482999-Apr-16 8:06 
Hello,

Using Visual Studio 2015, the first following line RegEx finds the second following line Dim statement:
Dim L_V_Scalar_(Integer)_Item As \1
Dim L_V_Scalar_Integer_Item As Integer

Is there a way to write a back reference with a ^ not operator to find the following violations of my naming convention?
Dim L_V_Scalar_Integer_Item As String

I tried the following regular expressions, but they do not work:
Dim L_V_Scalar_(Integer)_Item As ^\1
Dim L_V_Scalar_(Integer)_Item As [^\1]

Many thanks.

Keith
AnswerRe: Using back references to find data type naming standards violations Pin
George Jonsson16-Apr-16 19:36
professionalGeorge Jonsson16-Apr-16 19:36 
GeneralRe: Using back references to find data type naming standards violations Pin
Member 1244829917-Apr-16 18:20
MemberMember 1244829917-Apr-16 18:20 
AnswerRe: Using back references to find data type naming standards violations Pin
George Jonsson17-Apr-16 20:13
professionalGeorge Jonsson17-Apr-16 20:13 
QuestionRe: Using back references to find data type naming standards violations Pin
Member 1244829919-Apr-16 7:54
MemberMember 1244829919-Apr-16 7:54 
AnswerRe: Using back references to find data type naming standards violations Pin
George Jonsson19-Apr-16 19:52
professionalGeorge Jonsson19-Apr-16 19:52 
GeneralRe: Using back references to find data type naming standards violations Pin
Member 1244829923-Apr-16 5:25
MemberMember 1244829923-Apr-16 5:25 
Questionnegation of an expression Pin
Vijjuuu.28-Feb-15 8:19
MemberVijjuuu.28-Feb-15 8:19 
AnswerRe: negation of an expression Pin
Richard Deeming2-Mar-15 3:52
mveRichard Deeming2-Mar-15 3:52 
AnswerRe: negation of an expression Pin
bulrush40026-May-16 1:57
Memberbulrush40026-May-16 1:57 
QuestionHelp with regex HTML form validation Part 2 Pin
robwm110-Oct-14 11:18
Memberrobwm110-Oct-14 11:18 
AnswerRe: Help with regex HTML form validation Part 2 Pin
Matt T Heffron10-Oct-14 12:48
professionalMatt T Heffron10-Oct-14 12:48 
GeneralRe: Help with regex HTML form validation Part 2 Pin
robwm110-Oct-14 13:11
Memberrobwm110-Oct-14 13:11 
AnswerRe: Help with regex HTML form validation Part 2 Pin
Matt T Heffron10-Oct-14 13:26
professionalMatt T Heffron10-Oct-14 13:26 
GeneralRe: Help with regex HTML form validation Part 2 Pin
robwm110-Oct-14 13:34
Memberrobwm110-Oct-14 13:34 
AnswerRe: Help with regex HTML form validation Part 2 Pin
Matt T Heffron10-Oct-14 13:43
professionalMatt T Heffron10-Oct-14 13:43 
GeneralRe: Help with regex HTML form validation Part 2 Pin
robwm110-Oct-14 14:06
Memberrobwm110-Oct-14 14:06 
AnswerRe: Help with regex HTML form validation Part 2 Pin
Matt T Heffron10-Oct-14 14:13
professionalMatt T Heffron10-Oct-14 14:13 

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.