Search Results

Search: Posts Made By: MagusScythe
8,764
Posted By MagusScythe
Found it. Apparently, punctuation isn't...
Found it.

Apparently, punctuation isn't treated as part of a word, so it threw off the \< and \> tags. Instead, I've done this:

(\*)(\w+)[[:punct:]]*(\*)

asterisk, one or more words,...
8,764
Posted By MagusScythe
I did - here's the result: ...
I did - here's the result:

https://www.unix.com/attachment.php?attachmentid=1008&stc=1&d=1248254626

Wouldn't that look for whole lines that begin and end with asterisks, rather than individual...
8,764
Posted By MagusScythe
Sure thing. I used screenshots because it seemed...
Sure thing. I used screenshots because it seemed the easiest way to illustrate what's going on.

Here is the original text, with a GREP string of nothing....
8,764
Posted By MagusScythe
Simply that - your sample code does not return...
Simply that - your sample code does not return any results.


InDesign seems to store paragraphs as strings - as such I want to find words within that string that begin and end with an asterisk. ...
8,764
Posted By MagusScythe
I tried both - neither worked. \<.*\>...
I tried both - neither worked.

\<.*\> returns everything, as would be expected.

\<\*.*\> , however, doesn't return words that start with an asterisk. I think it's choking on asterisks for some...
8,764
Posted By MagusScythe
Assistence With Using Asterisks in GREP Expressions
I am attempting to find all complete words which contain an asterisk at the beginning and the end - for instance, "*Hello?*" or "*you*".

From what I've read, I would have thought that the...
Showing results 1 to 6 of 6

 
All times are GMT -4. The time now is 08:58 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy