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

Regular Expressions

 
AnswerRe: Matching a string. Pin
PIEBALDconsult19-Aug-13 5:03
professionalPIEBALDconsult19-Aug-13 5:03 
GeneralRe: Matching a string. Pin
Septimus Hedgehog19-Aug-13 5:27
MemberSeptimus Hedgehog19-Aug-13 5:27 
GeneralRe: Matching a string. Pin
PIEBALDconsult19-Aug-13 5:31
professionalPIEBALDconsult19-Aug-13 5:31 
GeneralRe: Matching a string. Pin
Septimus Hedgehog19-Aug-13 5:44
MemberSeptimus Hedgehog19-Aug-13 5:44 
GeneralRe: Matching a string. Pin
PIEBALDconsult19-Aug-13 9:01
professionalPIEBALDconsult19-Aug-13 9:01 
GeneralRe: Matching a string. Pin
Septimus Hedgehog19-Aug-13 23:04
MemberSeptimus Hedgehog19-Aug-13 23:04 
QuestionHelp wanted with regex format. Pin
Septimus Hedgehog31-Jul-13 3:17
MemberSeptimus Hedgehog31-Jul-13 3:17 
AnswerRe: Help wanted with regex format. Pin
Richard Deeming31-Jul-13 3:47
mveRichard Deeming31-Jul-13 3:47 
The % character won't work with the \b anchor. From MSDN:

The \b anchor specifies that the match must occur on a boundary between a word character (the \w language element) and a non-word character (the \W language element). Word characters consist of alphanumeric characters and underscores; a non-word character is any character that is not alphanumeric or an underscore. The match may also occur on a word boundary at the beginning or end of the string.

If you're using .NET, you could try something like:
((?<=\W)|^)%\s+\bcomplete\b




"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer


GeneralRe: Help wanted with regex format. Pin
Septimus Hedgehog31-Jul-13 3:53
MemberSeptimus Hedgehog31-Jul-13 3:53 
AnswerRe: Help wanted with regex format. Pin
OriginalGriff31-Jul-13 4:10
mveOriginalGriff31-Jul-13 4:10 
GeneralRe: Help wanted with regex format. Pin
Septimus Hedgehog31-Jul-13 4:34
MemberSeptimus Hedgehog31-Jul-13 4:34 
GeneralRe: Help wanted with regex format. Pin
OriginalGriff31-Jul-13 4:40
mveOriginalGriff31-Jul-13 4:40 
GeneralRe: Help wanted with regex format. Pin
Septimus Hedgehog31-Jul-13 5:15
MemberSeptimus Hedgehog31-Jul-13 5:15 
GeneralRe: Help wanted with regex format. Pin
Bernhard Hiller31-Jul-13 22:26
MemberBernhard Hiller31-Jul-13 22:26 
GeneralRe: Help wanted with regex format. Pin
Septimus Hedgehog31-Jul-13 23:58
MemberSeptimus Hedgehog31-Jul-13 23:58 
GeneralRe: Help wanted with regex format. Pin
Bernhard Hiller1-Aug-13 20:39
MemberBernhard Hiller1-Aug-13 20:39 
GeneralRe: Help wanted with regex format. Pin
Septimus Hedgehog1-Aug-13 22:16
MemberSeptimus Hedgehog1-Aug-13 22:16 
GeneralRe: Help wanted with regex format. Pin
ExcellentOrg6-Aug-13 19:07
MemberExcellentOrg6-Aug-13 19:07 
GeneralRe: Help wanted with regex format. Pin
OriginalGriff31-Jul-13 4:41
mveOriginalGriff31-Jul-13 4:41 
GeneralRe: Help wanted with regex format. Pin
Septimus Hedgehog31-Jul-13 5:18
MemberSeptimus Hedgehog31-Jul-13 5:18 
GeneralRe: Help wanted with regex format. Pin
Septimus Hedgehog31-Jul-13 20:17
MemberSeptimus Hedgehog31-Jul-13 20:17 
QuestionRegular Expression to allow combination of character with digits only Pin
pal8913-Feb-13 17:58
Memberpal8913-Feb-13 17:58 
AnswerRe: Regular Expression to allow combination of character with digits only Pin
Sandeep Mewara13-Feb-13 18:55
mvaSandeep Mewara13-Feb-13 18:55 
AnswerRe: Regular Expression to allow combination of character with digits only Pin
T Chandra Prakash28-Feb-13 19:08
MemberT Chandra Prakash28-Feb-13 19:08 
AnswerRe: Regular Expression to allow combination of character with digits only Pin
OriginalGriff28-Feb-13 21:39
mveOriginalGriff28-Feb-13 21:39 

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.