Click here to Skip to main content
15,881,803 members
Home / Discussions / Regular Expressions
   

Regular Expressions

 
AnswerRe: Matching a string. Pin
PIEBALDconsult19-Aug-13 5:03
mvePIEBALDconsult19-Aug-13 5:03 
GeneralRe: Matching a string. Pin
Septimus Hedgehog19-Aug-13 5:27
Septimus Hedgehog19-Aug-13 5:27 
GeneralRe: Matching a string. Pin
PIEBALDconsult19-Aug-13 5:31
mvePIEBALDconsult19-Aug-13 5:31 
GeneralRe: Matching a string. Pin
Septimus Hedgehog19-Aug-13 5:44
Septimus Hedgehog19-Aug-13 5:44 
GeneralRe: Matching a string. Pin
PIEBALDconsult19-Aug-13 9:01
mvePIEBALDconsult19-Aug-13 9:01 
GeneralRe: Matching a string. Pin
Septimus Hedgehog19-Aug-13 23:04
Septimus Hedgehog19-Aug-13 23:04 
QuestionHelp wanted with regex format. Pin
Septimus Hedgehog31-Jul-13 3:17
Septimus 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:
regexp
((?<=\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
Septimus 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
Septimus 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
Septimus Hedgehog31-Jul-13 5:15 
GeneralRe: Help wanted with regex format. Pin
Bernhard Hiller31-Jul-13 22:26
Bernhard Hiller31-Jul-13 22:26 
GeneralRe: Help wanted with regex format. Pin
Septimus Hedgehog31-Jul-13 23:58
Septimus Hedgehog31-Jul-13 23:58 
GeneralRe: Help wanted with regex format. Pin
Bernhard Hiller1-Aug-13 20:39
Bernhard Hiller1-Aug-13 20:39 
GeneralRe: Help wanted with regex format. Pin
Septimus Hedgehog1-Aug-13 22:16
Septimus Hedgehog1-Aug-13 22:16 
GeneralRe: Help wanted with regex format. Pin
ExcellentOrg6-Aug-13 19:07
ExcellentOrg6-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
Septimus Hedgehog31-Jul-13 5:18 
GeneralRe: Help wanted with regex format. Pin
Septimus Hedgehog31-Jul-13 20:17
Septimus Hedgehog31-Jul-13 20:17 
QuestionRegular Expression to allow combination of character with digits only Pin
pal8913-Feb-13 17:58
pal8913-Feb-13 17:58 
AnswerRe: Regular Expression to allow combination of character with digits only Pin
Sandeep Mewara13-Feb-13 18:55
mveSandeep Mewara13-Feb-13 18:55 
AnswerRe: Regular Expression to allow combination of character with digits only Pin
T Chandra Prakash28-Feb-13 19:08
T 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.